Created
September 12, 2022 10:51
-
-
Save CoderCowMoo/73e174c343afa36893e37921a66fd3fc to your computer and use it in GitHub Desktop.
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
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