Python - Loop Control
Find the error in this code that tries to skip printing number 2:
for i in range(4):
if i = 2:
continue
print(i)for i in range(4):
if i = 2:
continue
print(i)continue is valid in loops, and range(4) is correct.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions