title: Multiple variable with x for x
body: <p>Hello I have this code with Python :</p>
  
  <pre><code>for i in range(0,2):
      for j in range(0,2):
          print i+j
  </code></pre>
  
  <p>And I would like to have something like this :</p>
  
  <pre><code>a = [x for x in ...]
  </code></pre>
  
  <p>which displays exactly the same results that the loop for ie :</p>
  
  <pre><code>0
  1
  1
  2
  </code></pre>
  
  <p>But I don't know how to replace a loop for by a comprehension list because in this case I have two variable and not one. </p>
  
  <p>Could you help me please ?</p>
  
  <p>Thank you.</p>