diff options
author | RossTheRoss <msattr@gmail.com> | 2019-02-04 20:37:53 -0600 |
---|---|---|
committer | RossTheRoss <msattr@gmail.com> | 2019-02-04 20:37:53 -0600 |
commit | dad3a65cd426abd3c15fe93fb014ab89466ffe15 (patch) | |
tree | f454bb1f319af2eecf87ea3e0df3944e767e02fb /misc | |
parent | Fix things (diff) | |
download | homework-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.py | 11 |
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) |