<Below this line, add a link to the EXACT exercise that you are stuck at.>
<In what way does your code behave incorrectly? Include ALL error messages.>
total([0, 3, 6]) returned 0 instead of 9
<What do you expect to happen instead?>
The exercise should be correct, no erros should occur.
This is my code. according to the forum this schould be the correct code, but it gives me the error anyways ;(
n = [3, 5, 7] def total(numbers): result = 0 for i in range(len(numbers)): result = numbers[i] + result return result