Computer Science, asked by santanugogoi818, 5 months ago

23. Consider the loop given below:
for y in range( -5 ):
print (y)


1. 6
2. 5
3. 0
4. infinite
5. error

plzz help yrr​

Answers

Answered by Oreki
1

Answer:

None of these

Explanation:

As the range function assumes the start number as 0 and -5 < 0, hence, the range function doesn't return anything.

Answered by anindyaadhikari13
2

Answer:-

None of these is the answer for your question.

As the default starting range is taken as 0 and -5<0 so the loop will not execute and doesn't return anything.

Similar questions