All problems
MediumFunctions
*args — variable arguments
Write `total(*nums)` that sums any number of arguments and returns the total.
- #functions
- #*args
Sample input
total(1,2,3), total(10,20)
Sample output
6 30
variadic-args.py
Output
Press "Run code" to execute.
