Skip to content

Instantly share code, notes, and snippets.

@fkei
Created March 6, 2013 14:26
Show Gist options
  • Save fkei/5099640 to your computer and use it in GitHub Desktop.
Save fkei/5099640 to your computer and use it in GitHub Desktop.
>>> list1, list2 = [1,2,3,4,5], [6,7,8,9,10]
>>> for (e1, e2) in zip(list1, list2): print e1, e2
...
1 6
2 7
3 8
4 9
5 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment