We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7a9e9a commit 8f51146Copy full SHA for 8f51146
1 file changed
Level_03/Beispielcode/fizzbuzz.py
@@ -0,0 +1,8 @@
1
+for i in range(1, 16):
2
+ output = ""
3
+ if i % 3 == 0:
4
+ output += "fizz"
5
+ if i % 5 == 0:
6
+ output += "buzz"
7
+ print(output or i)
8
+
0 commit comments