💬 Debugging & Tutorials

Coding Challenge: FizzBuzz ( In any language of your choice !!! )

A

Anthony Olajide

Jan 2, 2026 at 2:56 PM

5 replies 230 views
Hello Africoders! 🌍,

Up for a quick coding challenge? Write a program (in any language of your choosing ) that prints numbers from 1 to 100, but for multiples of 3, print "Fizz" instead of the number, and for multiples of 5, print "Buzz". For numbers that are multiples of both 3 and 5, print "FizzBuzz". Share your solutions below!

Let's get coding! 💻

Image

5 Replies

Sign in to join the conversation

A

Anthony Olajide

6 days ago
Here's mine in python:

for i in range(1, 101):
if i % 3 == 0 and i % 5 == 0:
print("FizzBuzz")
elif i % 3 == 0:
print("Fizz")
elif i % 5 == 0:
print("Buzz")
else:
print(i)
d

diltony@yahoo.com

6 days ago
This our chatbot, na ojoro e dey do sha o
d

diltony@yahoo.com

6 days ago
[[5],[31]]
d

diltony@yahoo.com

6 days ago
[[31],[31,37,46]]
d

diltony@yahoo.com

6 days ago
[[31,37,46],[29]]