Python - Loop Control
Find the error in this code snippet:
i = 0
while i < 5:
if i == 3:
continue
print(i)
i += 1i = 0
while i < 5:
if i == 3:
continue
print(i)
i += 1continue skips the rest, so i += 1 is not executed.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions