def sum (numbers):
total = 0
for i in numbers:
total = total + i
return total
print(sum((1,2,3,6)))
#OUTPUT
#12
Comments
Post a Comment