1 Respuesta
0
Your continue has no effect in loop as it is last statement to execute.
Your if block is after it printing value so it not going to stop printing...
edit: Charlie
Check this :
i = 1
while i<=5:
i += 1
if i==3:
print("Skipping 3")
continue
print(i)