title: What is the pythonic way to loop through two arrays at the same time?
body: <p>If I have two arrays, of the same length - say <code>a</code> and <code>b</code></p>
  
  <p><code>a = [4,6,2,6,7,3,6,7,2,5]</code></p>
  
  <p><code>b = [6,4,6,3,2,7,8,5,3,5]</code></p>
  
  <p>normally, I would do this like so:</p>
  
  <pre><code>for i in range(len(a)):
      print a[i] + b[i]
  </code></pre>
  
  <p>rather than something like this:</p>
  
  <pre><code>i=0
  for number in a:
      print number + b[i]
      i += 1
  </code></pre>
  
  <p>because I prefer to be consistent with methods used.</p>
  
  <p>I know of <code>zip</code>, but I never use it. Is this what <code>zip</code> was made for?</p>
  
  <p>would </p>
  
  <pre><code>for pair in zip(a,b):
      print pair[0] + pair[1]
  </code></pre>
  
  <p>be the <em>pythonic</em> way to do this?</p>