osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Introducing the "for" loop


On Friday, October 6, 2017 at 2:05:58 AM UTC+1, Irv Kalb wrote:
>  
> The range function is discussed after that.
>  

FWIW range isn't a function in Python 3.  From https://docs.python.org/3/library/functions.html#func-range "Rather than being a function, range is actually an immutable sequence type, as documented in Ranges and Sequence Types ? list, tuple, range.".

--
Kindest regards.

Mark Lawrence.