Python - For Loop
What will be printed by this code?
for i in range(5, 0, -1):
print(i, end=' ')for i in range(5, 0, -1):
print(i, end=' ')range(5, 0, -1) counts down from 5 to 1 (stop excluded).15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions