Python range() built-in function

Python range() built-in function

From the Python 3 documentation Rather than being a function, range is actually an immutable sequence type, as documented in Ranges and Sequence Types — list, tuple, range.