Oops, try again. total([0, 3, 6]) returned 0 instead of 9
I figured that this would work. I am not sure what is wrong with my code.
Replace this line with your code. n = [3, 5, 7] def total(numbers): result = 0 for i in range(len(numbers)): result = numbers[i] + result return result