Skip to content

Instantly share code, notes, and snippets.

@CoderCowMoo
Created September 12, 2022 10:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CoderCowMoo/fb40bd4c7cbc47fba9b63f123ddc445c to your computer and use it in GitHub Desktop.
Save CoderCowMoo/fb40bd4c7cbc47fba9b63f123ddc445c to your computer and use it in GitHub Desktop.
def main():
for i in range(1, 101):
if i % 15 == 0:
print("Fizzbuzz")
continue
if i % 5 == 0:
print("Buzz")
continue
if i % 3 == 0:
print("Fizz")
continue
print(i)
if __name__ == "__main__":
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment