diff --git a/fizzbuzz.py b/fizzbuzz.py index 218f7aa..9409698 100644 --- a/fizzbuzz.py +++ b/fizzbuzz.py @@ -1,2 +1,10 @@ -# add your code here +for num in range(1, 101): + if num % 3 == 0 and num % 5 == 0: + print("FizzBuzz") + elif num % 3 == 0: + print("Fizz") + elif num % 5 == 0: + print("Buzz") + else: + print(num)# add your code here