Python - Loop Control
Find the error in this code:
for i in range(3):
if i == 1:
break
print(i)for i in range(3):
if i == 1:
break
print(i)if and break lines are not indented inside the for loop.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions