We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb1a5ee commit ed8c7faCopy full SHA for ed8c7fa
Retos/Reto #0 - EL FAMOSO FIZZ BUZZ [Fácil]/python/dgroes.py
@@ -0,0 +1,16 @@
1
+#Reto #0: EL FAMOSO "FIZZ BUZZ"
2
+#Dificultad: Fácil
3
+
4
+counter = 1
5
6
+print("****Fizz Buzz****")
7
+while counter <= 100:
8
+ if((counter % 3 == 0) and (counter % 5 == 0)):
9
+ print("fizzbuzz")
10
+ elif(counter % 5 == 0):
11
+ print("buzz")
12
+ elif(counter % 3 == 0):
13
+ print("fizz")
14
+ else:
15
+ print(counter)
16
+ counter+= 1
0 commit comments