
10 Apr
2020
10 Apr
'20
12:31 p.m.
I have an idea to improve the python language through the creation of a new and very readable function.
################# def ranlen(x): #range of length of x return range(len(x)) #################
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.