[Tutor] is it possible to traverse two lists simulatenously using python

Lie Ryan lie.1296 at gmail.com
Thu Apr 30 13:12:54 CEST 2009


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()



More information about the Tutor mailing list