LISTS AND FUNCTIONS - Iterating over a list in a function 15/18

An error message has appeared:

total([0, 3, 6]) returned 15 instead of 9

n = [3, 5, 7] should result in 15, so why my code is wrong? Any ideas would appreciate. Thank you!

```
n = [3, 5, 7]
def total(numbers):
result = 0
for i in range(len(n)):
result = n[i]+result
return result
```