Computer Science
Function range(10, 5, 2) will yield an iterable sequence like
- []
- [10, 8, 6]
- [2, 5, 8]
- [8, 5, 2]
Related Questions
Function range(0, 5, 2) will yield on iterable sequence like
Function range(10, 5, -2) will yield an iterable sequence like
Consider the loop given below :
for i in range(-5) : print(i)How many times will this loop run?
Consider the loop given below :
for i in range(10, 5, -3) : print(i)How many times will this loop run?