title: Using an iterator to print integers
body: <p>What I want to do is print the integers 0 through 5 in the code below but all I get is an address of the iterator?</p>
  
  <pre><code>def main():
  
      l = []
      for i in range(0,5):
          l.append(i)
  
      it = iter(l)
  
      for i in range(0,5):
          print it
          it.next()
  
  if __name__ == '__main__':
      main()
  </code></pre>