is it possible to traverse two lists simulatenously using python

Daniel Fetchinson fetchinson at
Fri May 1 19:18:09 EDT 2009

> Python
> for i,j in topgirls, richgirls:
>     print i,j

for i, j in zip( topgirls, richgirls ):
    print i,j


> Cheetah
> #for $i,$j in $topgirls, $richgirls$i, $j
> #end for
> This doesnt work

Psss, psss, put it down! -

More information about the Python-list mailing list