for x,y in word1, word2 ?

ssecorp circularfunc at gmail.com
Mon Aug 11 00:18:53 EDT 2008


Is there a syntax for looping through 2 iterables at the same time?

for x in y:
    for a in b:


is not what I want.

I want:
for x in y and for a in b:



More information about the Python-list mailing list