This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: |