title: mathematical limits in python?
body: <p>I am trying to do mathematical limits in python.</p>
  
  <p>I have defined a function for smoke</p>
  
  <pre><code>import turtle
  t = turtle.Pen()
  
  def drawsmoke(y):
      i = 0
      while i &lt; ((2 * y) - 1):
          t.seth(i * 5)
          t.circle((10 + i), 160)
          i = i + 2
  </code></pre>
  
  <p>this draws one side of the smoke, the other side yet to be done.</p>
  
  <p>now the problem arises when i try to draw about 4 smoke circles(y=4) that the smoke starts turning the wrong way. to fix this, i considered doing a mathematical limit. I would make a variable </p>
  
  <pre><code>   smkang=(i*5)
  </code></pre>
  
  <p>and then do a limit on this variable:</p>
  
  <pre><code>      lim
      smkang-&gt;20    
  </code></pre>
  
  <p>how may i do this? or is there another way not involving limits? btw this is in turtle (python language but turtle imported)
  thanks</p>