title: In Python, how does a for loop with `range` work?
body: <pre><code>for number in range(1,101): 
      print number
  </code></pre>
  
  <p>Can someone please explain to me why the above code prints 1-100? I understand that the range function excludes the last number in the specified range, however, what is the 'number' part of the syntax?</p>
  
  <p>I am more used to C++ &amp; Java where I'd write the code like:</p>
  
  <pre><code>for (i = 1; i &lt; 101; i++) {
     System.out.println(i);
     i++;
  }
  </code></pre>
  
  <p>So what exactly is 'number'? I'm sure i'm looking too far into this and there is a simple question.</p>