demo_for_continue.py:
fruits = ["apple", "banana", "cherry"] for x in fruits: if x == "banana": continue print(x)
C:\Users\My Name>python demo_for_continue.py
apple
cherry