Python Print Into Variable Resistor