Python Module Level Variable Resistor Function In A Car