Built-in Functions — Python 3.14.5rc1 documentation#func-range
class
range(stop,/)class
range(start, stop, step=1,/)Rather than being a function,
rangeis actually an immutable sequence type, as documented in Ranges and Sequence Types — list, tuple, range.
Printed 2026-06-28.