Skip to content
CodeItRaw
Code Reading
/
Product
Path
Play
Daily
Leaderboard
tr
Break the Code
Product
Write a list for which this function gives the wrong answer.
1
def
product
(values):
2
total =
0
3
for
v
in
values:
4
total = total * v
5
return
total