Q. What will be the output of following Python code snippet?
Code:
for i in range(0 , -2 , -1):
print(i)
β
Correct Answer: (A)
0, -1
for i in range(0 , -2 , -1):
print(i)
You must be Logged in to update hint/solution