10 Examples to Master *args and **kwargs in Python
How to use and not to use them
Published in
5 min readNov 16, 2020
Functions are building blocks in Python. They take zero or more arguments and return a value. Python is pretty flexible in terms of how arguments are passed to a function. The *args and **kwargs make it easier and cleaner to handle arguments.