Python Round A Variable Resistor