title: Python turtle module .ontimer loop question
body: <pre><code>def h1():
      tess.forward(70)
      tess.fillcolor("orange")
  def h2():
      tess.forward(70)
      tess.fillcolor("red")
  
  def h3():
      tess.back(140)
      tess.fillcolor("green")
  
  timer = 1000
  
  for _ in range(timer):
      wn.ontimer(h1,timer)
      wn.ontimer(h2, timer+1000)
      wn.ontimer(h3, timer+2000)
      timer +=3000
  
  wn.listen()
  wn.mainloop()
  </code></pre>
  
  <p>When I use the for loop the function works as intended.
  when I try to use the while loop, nothing happens, no runtime error either:</p>
  
  <pre><code>while True:
      wn.ontimer(h1,timer)
      wn.ontimer(h2, timer+1000)
      wn.ontimer(h3, timer+2000)
      timer +=3000
  </code></pre>