I'm glad I came across this post because I was about to write it myself. indices () seems like a good explanation of what's going on. It returns both the index and what it corresponds to. Much better than enumerate. -- Mike On Wed, Apr 24 @ 06:37, Neil Schemenauer wrote: > Greg Ewing wrote: > > There doesn't seem to be any single English word that > > captures all of what we mean without ambiguity. > > How about "indices"? You use a key to get things out of dictionaries. > You use an index to get things out of sequences. "indices" is the pural > of index. > > Neil > > > _______________________________________________ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev `-> (nas) -- Michael Gilfix mgilfix@eecs.tufts.edu For my gpg public key: http://www.eecs.tufts.edu/~mgilfix/contact.html
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4