I don't understand why I get the following error message:
Oops, try again. total([0, 3, 6]) returned 0 instead of 9
This is my code :
n = [3, 5, 7] def total(numbers): result = 0 for number in range(len(numbers)): result = result + number return result
Can someone help me?