title: What is the use of iter in python?
body: <p>What is the use of using the <code>iter</code> function in python?</p>
  
  <p>Instead of doing:</p>
  
  <pre><code>for i in range(8):
    print i
  </code></pre>
  
  <p>I could also use <code>iter</code>:</p>
  
  <pre><code>for iter in range(8):
    print iter
  </code></pre>