Skip to content

Instantly share code, notes, and snippets.

@sirsnowy7
sirsnowy7 / fizzbuzz.py
Created April 3, 2021 21:32
A really really simple Fizz Buzz implementation in Python
# I made this to see what I would do before watching Tom Scott's Fizz Buzz video
for i in range(1, 101):
if i % 3 == 0 and i % 5 == 0:
print("fizz buzz")
elif i % 3 == 0:
print("fizz")
elif i % 5 == 0:
print("buzz")
else: