From dad3a65cd426abd3c15fe93fb014ab89466ffe15 Mon Sep 17 00:00:00 2001 From: RossTheRoss Date: Mon, 4 Feb 2019 20:37:53 -0600 Subject: Arrange --- misc/help.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 misc/help.py (limited to 'misc') 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) -- cgit v1.2.3