forked from local-interloper/fizz-buzz
14 lines
254 B
Python
14 lines
254 B
Python
if(__name__ == "__main__"):
|
|
for i in range(1, 101):
|
|
out = ""
|
|
|
|
if(i % 3 == 0):
|
|
out += "Fizz"
|
|
if(i % 5 == 0):
|
|
out += "Buzz"
|
|
|
|
if(not out):
|
|
print(i)
|
|
else:
|
|
print(out)
|