title: Why doesn't 'while' work the same as 'for' with a continue staement
body: <p>If I try the the code:</p>
  
  <pre><code>for i in range(10):
      if i &lt; 5:
          continue
      print(i)
  </code></pre>
  
  <p>it will print the numbers 6-10.
  But the code:</p>
  
  <pre><code>for i in range(10):
      while i &lt; 5:
          continue
      print(i)
  </code></pre>
  
  <p>will never terminate. 
  It seems that the while loop <em>doesn't increment i</em>. 
  What am I missing here?</p>