numbers = [1, 2, 3, 4, 5] for num in numbers: if num == 3: continue print(num)
1 2 4 5
count = 0 while True: print(count) count += 1 if count == 5: break
0 1 2 3 4