Returns a RangeIterator for all numbers starting at the start index and one step before the stop index.
RangeIterator
The stop index (exclusive).
This functionally behaves the same as Python 3's range builtin, with the exception of here: range(1, 0) == [1], whereas in Python, it returns an empty iterator: [].
range
range(1, 0) == [1]
[]
Returns a
RangeIterator
for all numbers starting at the start index and one step before the stop index.