title: For loop in Python and data types
body: <p>I am trying to figure out what happens with the variable in a for loop.</p>
  
  <pre><code>i=2
  for i in "1234":
      print i*2
      break
  </code></pre>
  
  <p>I can understand how is this loop executed because i is an integer and it is searched in a string. How does this work?</p>