# Documentation The definition of range - function is incorrect. [here](https://docs.python.org/3/tutorial/controlflow.html#the-range-function) In fact, range is a class. [Proof](https://docs.python.org/3/library/stdtypes.html#range)