diff options
Diffstat (limited to 'misc/help.py')
-rw-r--r-- | misc/help.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/misc/help.py b/misc/help.py index 2019f3c..35ef1b1 100644 --- a/misc/help.py +++ b/misc/help.py @@ -1,11 +1,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) +# 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)
|