How you define the range() function in your program to get the following outputs?
a) 99 94 89 84
b) 9 12 15 18 21 24
Answers
Answered by
1
Answer:
Hii,
Explanation:
One of the most common uses of the range() function is for iterating over a series of values in a for loop. This is particularly useful if you want to access each of the values in a list or array, or, for example, only every other value. In this example, the range() function is generating a sequence from 0 to 4 .
# XxLovingBoyxX ❤️
Similar questions