- Think Python: How to Think Like a Computer Scientist / 12.4 Variable-length argument tuples
- Think Python: How to Think Like a Computer Scientist / 19.9 Gathering keyword args
- Automate the Boring Stuff with Python / Chapter 5 / Fantasy Game Inventory
- Automate the Boring Stuff with Python / Chapter 5 / List to Dictionary Function for Fantasy Game Inventory
- Snakify / Lesson 8 / Problems ("Uppercase" and "Reverse the sequence" only)
- Snakify / Lesson 10 / Problems ("Cubes", "The number of distinct words in some text" and "Guess the number" only)
- Snakify / Lesson 11 / Problems ("Access rights", "Countries and cities" and "Frequency analysis" only)
- Args sum - write a function called sum_all that takes any number of arguments and returns their sum.
- Args inspector - write a function called inspect_args that prints passed args and kwargs in human-readable format.
- Logger wrapper - write a function called logger_wrapper that wraps call to any function in order to log passed args.
The function must take
foo,*argsand**kwargs, prints*argsand**kwargsin human readable format and finally callfoowith args and kwargs