title: updating counter of for-loop inside the loop in python
body: <p>I ran this Python code.</p>
  
  <pre><code>for i in range(1,11):
  
      i=i*2
  
      print(i,end=" ")
  </code></pre>
  
  <p>It gave the following output:
  2 4 6 8 10 12 14 16 18 20 </p>
  
  <p>How is the 'i' reaching 20 and yet staying inside the loop?
  Is there a new instance of 'i' being created somehow? </p>