aboutsummaryrefslogtreecommitdiffstats
path: root/misc/help.py
blob: 35ef1b1281f0f5a2f611bcb667ea8df35fb3468b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#  Give job please
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: #I have no idea how this works at all
        print(N)
    else:
        print(S)