aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2019-02-04 20:37:53 -0600
committerRossTheRoss <msattr@gmail.com>2019-02-04 20:37:53 -0600
commitdad3a65cd426abd3c15fe93fb014ab89466ffe15 (patch)
treef454bb1f319af2eecf87ea3e0df3944e767e02fb /misc
parentFix things (diff)
downloadhomework-dad3a65cd426abd3c15fe93fb014ab89466ffe15.tar
homework-dad3a65cd426abd3c15fe93fb014ab89466ffe15.tar.gz
homework-dad3a65cd426abd3c15fe93fb014ab89466ffe15.tar.bz2
homework-dad3a65cd426abd3c15fe93fb014ab89466ffe15.tar.lz
homework-dad3a65cd426abd3c15fe93fb014ab89466ffe15.tar.xz
homework-dad3a65cd426abd3c15fe93fb014ab89466ffe15.tar.zst
homework-dad3a65cd426abd3c15fe93fb014ab89466ffe15.zip
Arrange
Diffstat (limited to 'misc')
-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)