RosettaCodeData/Task/FizzBuzz/Python/fizzbuzz-4.py

2 lines
69 B
Python

for i in range(1,101): print("Fizz"*(i%3==0) + "Buzz"*(i%5==0) or i)