What is Nostr?
Dr. Juande Santander-Vela /
npub1hgu…j8de
2025-01-07 13:33:01

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
Author Public Key
npub1hgu7p2t6ttu9h0004zfxydrgcylnfrlwnpz9me2v9auaa5pxs9zs7gj8de