Skip to content

Instantly share code, notes, and snippets.

@ItsCosmas
Created May 9, 2019 08:16
Show Gist options
  • Save ItsCosmas/6729a06044511adb173594f21501e7cc to your computer and use it in GitHub Desktop.
Save ItsCosmas/6729a06044511adb173594f21501e7cc to your computer and use it in GitHub Desktop.
For Loop Continue
# FOR LOOP CONTINUE
fruits = ["apple", "banana", "cherry"]
for x in fruits:
if x == "banana":
continue
print(x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment