aboutsummaryrefslogtreecommitdiffstats
path: root/help.py
blob: 9d5958bccd8462c90db93e0e9ae11d798ea23fcb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#  Give job please
for N in range (1,101):
    S = ''
    if N % 3 == 0:
        S = S + "Fizz"
    if N % 5 == 0:
        S = S + "Buzz"
# I have no idea how this works
    if N % 3 and N % 5:
        print(N)
    else:
        print(S)