From 55c2a92c7f978cb7e9b93eaea8a30f205952219b Mon Sep 17 00:00:00 2001 From: Aaron Espelage Date: Sun, 3 Nov 2024 23:12:31 -0500 Subject: [PATCH] Aaron Espelage Fizzbuzz --- fizzbuzz.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/fizzbuzz.py b/fizzbuzz.py index 218f7aa..7cb3708 100644 --- a/fizzbuzz.py +++ b/fizzbuzz.py @@ -1,2 +1,11 @@ # add your code here +for number in range (1,101): +if number % 3 == 0 and number % 5 == 0: + print("FizzBuzz") + elif number % 3 == 0: + print ("Fizz") + elif number % 5 == 0: + print ("Buzz") + else: + print (number)