8 lines
196 B
Python
8 lines
196 B
Python
def main():
|
|
for n in range(1, 101):
|
|
lut = [n, "Fizz", "Buzz", "Fizz Buzz"]
|
|
idx = (n % 3 == 0) + 2 * (n % 5 == 0)
|
|
print(lut[idx])
|
|
|
|
if __name__ == "__main__":
|
|
main()
|