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