Iterate using tuple as index
Terry Reedy
tjreedy at udel.edu
Thu Mar 10 16:21:15 EST 2005
"James Stroud" <jstroud at mbi.ucla.edu> wrote in message
news:200503101312.31615.jstroud at mbi.ucla.edu...
> Its not obvious to me how to do this. I would like to iterate using a
> tuple as
> an index. Say I have two equivalently sized arrays, what I do now seems
> inelegant:
Sounds like you want zip(firstlist, secondlist). If not, I somehow missed
something.
TJR
More information about the Python-list
mailing list