Skip to content
Break the Code

Product

Write a list for which this function gives the wrong answer.
1def product(values):
2 total = 0
3 for v in values:
4 total = total * v
5 return total