Gaddis Python 4e Chapter 04 PPT 2
Gaddis Python 4e Chapter 04 PPT 2
Repetition
Structures
Output:
1
2
3
If you pass one argument to the range function, as demonstrated in Program 4-7, that
argument is used as the ending limit of the sequence of numbers.