title: Get 2 number in one For loop
body: <p>How do I get two numbers in a loop?
  I tried to use the <code>zip</code> function.</p>
  
  <pre class="lang-py prettyprint-override"><code>matrix = [[0,1,1,2],[0,5,0,0],[2,0,3,3]]
  print(len(matrix[0]))
  print(range(len(matrix[0])))
  for i, x in zip(range(len(matrix)), range(len(matrix[0]))):
      print(x)
  </code></pre>
  
  <p>But instead of my output being <code>0,1,2,3</code>, it only prints up to <code>2</code></p>