Collect every pair of elements from a list into tuples in Python
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4628290/pairs-from-single-list">Pairs from single list</a>  </p>
</blockquote>



<p>I have a list of small integers, say:</p>

<pre><code>[1, 2, 3, 4, 5, 6]
</code></pre>

<p>I wish to collect the sequential pairs and return a new list containing tuples created from those pairs, i.e.:</p>

<pre><code>[(1, 2), (3, 4), (5, 6)]
</code></pre>

<p>I know there must be a really simple way to do this, but can't quite work it out.</p>

<p>Thanks</p>
