Skip to content
Code ReadingThe FizzBuzz Value
Break the Code

The FizzBuzz Value

Write a number for which this function gives the wrong answer.
1def fizz(n):
2 if n % 3 == 0:
3 return 3
4 if n % 5 == 0:
5 return 5
6 if n % 15 == 0:
7 return 15
8 return 0