Hi, I understand your answer completely i just don’t understand why this is the correct way to do it…

def total(numbers):

result = 0

for i in range(0,len(numbers)):

result += numbers[i]

return result

Is it because of the use of range()?

What if i didnt want to use range?