```
#---------------------------------------------------#
"""-----------------ADEGOKE OBASA-----------------"""
"""------------adegokeobasa@yahoo.com-------------"""
"""--This functions adds all the values inputed---"""
def sumall(*args):
"""This function takes max arguements
and sums all the arguements"""
leng=len(args)
n=1
temp=args[n-1]
while n!=leng:
temp+=args[n]
n+=1
return temp
#example
#print(sumall(10,10,1,10,10,10,10,10))
#>>>
#71
```

Recommended Topics