title: Increment two variables in a loop with a relation between them
body: <p>I am trying to increment two different variables, in the same for loop or even in nested loops, these two variables are related, one should be less than the other by 10. </p>
  
  <p>Output should look something like this:</p>
  
  <p><strong>First Iteration:</strong></p>
  
  <blockquote>
    <p>Text1  &lt; First variable/number to increment</p>
    
    <blockquote>
      <p>blah blah 1 &lt; Second variable to increment</p>
    </blockquote>
  </blockquote>
  
  <p><strong>Second Iteration</strong></p>
  
  <blockquote>
    <p>Text2</p>
    
    <blockquote>
      <p>blah blah 1</p>
    </blockquote>
  </blockquote>
  
  <p><strong>Tenth Iteration</strong></p>
  
  <blockquote>
    <p>Text 10</p>
    
    <blockquote>
      <p>blah blah 2</p>
    </blockquote>
  </blockquote>
  
  <p>I was unable to write code to do that, I tried to get my head around using nested loops but failed:</p>
  
  <blockquote>
    <p>x = [20]</p>
  </blockquote>
  
  <pre><code>for i in range(1, 2000):
     print "Text%d" % (i)
     for j in x:
       print "blah blah%d" % (j) 
  </code></pre>