New submission from Hossein <ranjbari.hossein9...@gmail.com>:

Hi everyone. I have an idea which is add a new feature to enumerate(iterable, 
start=0) built-in function. I mean, "start" is ascending by default, we can add 
a feature to this function to change start in descending order.
for example:
enumerate(iterable, start=100, reverse=True)
reverse: If True, the start is reversed.
(100, iterable[0]), (99, iterable[1],), and so on.

----------
assignee: docs@python
components: Argument Clinic, Build, Demos and Tools, Documentation, Interpreter 
Core, Parser
messages: 413428
nosy: HosseinRanjbari, docs@python, larry, lys.nikolaou, pablogsal
priority: normal
severity: normal
status: open
title: Add a new feature to enumerate(iterable, start=0) built-in function
type: enhancement
versions: Python 3.10, Python 3.11, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46783>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to