Write a Python function to sum all the numbers in a list

 def sum (numbers):

    total = 0

    for i in numbers:

        total = total + i

    return  total

print(sum((1,2,3,6)))


#OUTPUT

#12

Comments