Python Add One To Variable Resistor