Michiel Overtoom wrote:
Kent Johnson wrote:

Use zip() or itertools.izip():

And when the sequences are of unequal length:

On python3.x, use itertools.zip_longest()

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to