You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
222 B

target = 100
for n in range(1, target + 1):
if((n % 3 == 0) and (n % 5 ==0)):
print("FizzBuzz")
elif(n % 3 == 0):
print("Fizz")
elif(n % 5 == 0):
print("Buzz")
else:
print(n)