DSA
Medium
+15 XP
FizzBuzz value (Py)
Write solve(n): return "FizzBuzz" if divisible by 15, "Fizz" by 3, "Buzz" by 5, else str(n).
Sign in to solve this challenge
Use your college email to start solving, earn XP, build a streak, and climb your college leaderboard. It is free.
Sign in with Google