aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--help.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/help.py b/help.py
index 11f03bd..2fef459 100644
--- a/help.py
+++ b/help.py
@@ -1,12 +1,12 @@
# 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)
+for N in range (0,101):
+ S = ''
+ if N % 3 == 0:
+ S = S + "Fizz"
+ if N % 5 == 0:
+ S = S + "Buzz"
+ if N % 3 and N % 5:
+ print(N)
else:
- print(string)
+ print(S)
\ No newline at end of file