A Faster Way...

gene.tani at gmail.com gene.tani at gmail.com
Tue May 10 21:11:27 EDT 2005


hmm, there's lots of ways, huh?  you can use itertools.zip instead of
builtin zip, or do:

 map(None, list1, list2)

, which will pad the shorter one to match the longer one.




More information about the Python-list mailing list