diff options
Diffstat (limited to '')
-rw-r--r-- | help.py | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -1 +1,12 @@ -# Test
\ No newline at end of file +# Time to make a real Fizzbuzz +for e in range (0,101): + string = '' + if e % 3 == 0: + string = string + "Fizz" + if e % 5 == 0: + string = string + "Buzz" + if e % 5 != 0 and e % 3 != 0: + print(e) + else: + print(string) +
\ No newline at end of file |