Question 16 of 40
The
function is responsible for generating all the desired values of the control variable in for loop.
Answers
Answered by
1
Answer:
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
Explanation:
please mark me as brain list
Similar questions