Computer Science, asked by sumitmistry0924, 18 days ago

What a range() function does? Give an example​

Answers

Answered by niranjanbr4
0

Answer:

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

Answered by rakhithakur
0

Answer:

range() function is used to iterate over a series of values in a for loop.

Similar questions