On Tuesday 04 November 2003 06:44 pm, Guido van Rossum wrote: > > for i, value in reversed(enumerate(listofnum)): > > Sorry, this doesn't work. enumerate() returns an iterator, reversed() > requires a sequence. I believe the assumption is that enumerate (as well as the proposed irange) would grow an __reversed__ method to handle just that usage. Jeremy
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