RosettaCodeData/Task/FizzBuzz/Python/fizzbuzz-3.py
2023-07-01 13:44:08 -04:00

9 lines
154 B
Python

for n in range(1,101):
response = ''
if not n%3:
response += 'Fizz'
if not n%5:
response += 'Buzz'
print(response or n)