Back to Lesson
Data Accumulator
Build flexible argument packing definitions exploiting unpacked configurations.
Instructions
- Create a function.
sum_all(*args) - It should utilize the packedtuple representation to execute
argsnatively, returning the summation.sum(args) - Print the returned value of.
sum_all(10, 20, 30, 40)
main.py
main.py
Ctrl + Enter