RosettaCodeData/Task/FizzBuzz/Python/fizzbuzz-3.py
2020-02-17 23:21:07 -08: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)