blob: abadaf8a35ef293aaa5a91d4a02faeb345bacff7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
# Time to make a real FizzBuzz
for N in range (1,101):
S = ''
if N % 3 == 0:
S = S + "Fizz"
if N % 5 == 0:
S = S + "Buzz"
if N % 3 and N % 5:
print(N)
else:
print(S)
|