Skip to content

Instantly share code, notes, and snippets.

@Edmundworks
Created July 2, 2020 16:03
Show Gist options
  • Save Edmundworks/86c127dcec4667e4987cccf1ff262ff4 to your computer and use it in GitHub Desktop.
Save Edmundworks/86c127dcec4667e4987cccf1ff262ff4 to your computer and use it in GitHub Desktop.
for i in range(100)
if i % 3 == 0 and i % 5 == 0:
print("FizzBuzz")
elif i % 3 == 0:
print("Fizz")
elif i % 5 == 0:
print("Buzz")
else print i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment