Do this as a list comprehension?

John Salerno johnjsal at NOSPAMgmail.com
Fri Jun 6 19:38:12 CEST 2008


"Terry Reedy" <tjreedy at udel.edu> wrote in message 
news:mailman.150.1212734707.1044.python-list at python.org...
>
> "Mensanator" <mensanator at aol.com> wrote in message
> news:bbd90051-36be-4378-9a27-2a47a5471d12 at a1g2000hsb.googlegroups.com...

> Which is exactly the purpose of zip, or its specialization enumerate!

Thanks guys! Looks like the simplest is always the best yet again! :) 





More information about the Python-list mailing list