aboutsummaryrefslogtreecommitdiffstats
path: root/misc/help.py
diff options
context:
space:
mode:
Diffstat (limited to 'misc/help.py')
-rw-r--r--misc/help.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/help.py b/misc/help.py
new file mode 100644
index 0000000..2019f3c
--- /dev/null
+++ b/misc/help.py
@@ -0,0 +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)