Introducing the "for" loop

breamoreboy at gmail.com breamoreboy at gmail.com
Thu Oct 5 22:45:26 EDT 2017


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.



More information about the Python-list mailing list