Lesson 29 of 34 · +120 xp

*args

Variable arguments.

Explained simply

Your task

Write: def total(*args): return sum(args)

args.py
▶ Output (python)
Click 'Run code' to execute your code in a real sandbox.
← Back