Python - While Loop
Find the error in this code snippet:
i = 0
while i < 5:
if i == 3:
break
print(i)
i += 1
else:
print('Finished')Find the error in this code snippet:
i = 0
while i < 5:
if i == 3:
break
print(i)
i += 1
else:
print('Finished')15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions