I am currently a beginner in python, why is my function not returning the arguments added together? here is my code:
def add(*numbers):
total = 0
for number in numbers:
total = total + number
return(total)
I use the function as below.
add(9,9,9)
I get the output.
9