Dr. Juande Santander-Vela on Nostr: Just created an _inclusive_ range (irange) constructor for when you want actual ...
Just created an _inclusive_ range (irange) constructor for when you want actual ranges of numbers, but based on range, so you get an operator and the accelerations from the Python runtime.
i.e., `list(irange(4))` is `[0,1,2,3,4]`; `list(irange(1,4))` is `[1,2,3,4]`; `list(irange(1,5,2))` is `[1,3,5]`; and `list(irange(1,5,2))` is `[5,3,1]`.
https://gist.github.com/juandesant/6bcc27dbc33285d97c9829ec29d31687
i.e., `list(irange(4))` is `[0,1,2,3,4]`; `list(irange(1,4))` is `[1,2,3,4]`; `list(irange(1,5,2))` is `[1,3,5]`; and `list(irange(1,5,2))` is `[5,3,1]`.
https://gist.github.com/juandesant/6bcc27dbc33285d97c9829ec29d31687