![]() |
![]() |
Enumerating loop (for) |
2,4,5The numbers are then assigned to the variable in sequence.
range(10)Produces beginning starting from 0 a quantity of whole numbers, and ends before the 10. The values 0 to 9 are thus produced.
range(4,10)Produced beginning starting from 4 a quantity of whole numbers, and ends before the 10. The values 4 to 9 are thus produced.