title: "UnboundLocalError: local variable 'TimerOnOff' referenced before assignment"
body: <p>Can someone help me with fixing this problem? When I run this program I get the Error "UnboundLocalError: local variable 'TimerOnOff' referenced before assignment"</p>
  
  <pre><code>TimerOnOff = 0
  Timer = 7.5
  class Timeout():
      def start():
          Timer = 7.5
          if TimerOnOff == 1:
              for T in range(0, 75):
                  Timer - 0.1
                  time.sleep(0.1)
                  print(Timer)
              TimerOnOff = 0
  
  TimerOnOff = 1
  Timeout.start()
  </code></pre>