This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author wyz23x2
Recipients wyz23x2
Date 2020-02-10.07:35:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581320143.14.0.190118566768.issue39596@roundup.psfhosted.org>
In-reply-to
Content
Starting from Python 2.3, the handy enumerate() was introduced.
However, I suggest to add a "reverse" parameter:
>>> lis = ['a', 'b', 'c', 'd']
>>> list(enumerate(lis))
[(0,'a'),(1,'b'),(2,'c'),(3,'d')]
>>> list(enumerate(lis,reverse=True)
[('a',0),('b',1),('c',2),('d',3)]
>>>
History
Date User Action Args
2020-02-10 07:35:43wyz23x2setrecipients: + wyz23x2
2020-02-10 07:35:43wyz23x2setmessageid: <1581320143.14.0.190118566768.issue39596@roundup.psfhosted.org>
2020-02-10 07:35:43wyz23x2linkissue39596 messages
2020-02-10 07:35:42wyz23x2create