On 10/04/2020 20:31, Chamoun Saoma wrote:
This will be a simple to use and very readable way of creating ranges
of indexes. I hope for this to become a new pythogenic way of writing
code, especially because using range(leng(x)) is so essential when
implementing various algorithms.

Since the introduction of enumerate() lo! these many moons ago, I find I almost never write range(len(x)) as a loop iterable.

--
Rhodri James *-* Kynesim Ltd
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/KJYTJEKKWHVPBYRTWF43YOUDZQKY2NCL/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to