Terry Reedy wrote: >>Wow, I didn't know about enumerate. > > It is listed and explained in Lib Ref Manual, Chapter 2, on builtin > functions and types and their methods. Everyone should read at least that > much of the Lib manual.
Or be sure to read the "What's New in Python X.Y" pages that are released with new versions of Python, to stay current. Then read them again a few months later. Then again when you finally get around to installing the new version (if you lag behind). And again a few months later... ;-) -Peter -- http://mail.python.org/mailman/listinfo/python-list