





Are there times when you want to specify a variable argument list in Python?
This is possible by using *args and **kwargs.
The special syntax, *args and **kwargs, in a function definition is used to pass a variable number of arguments to a function.
The single asterisk (*args) is used to pass a non-keyword, variable length argument list. The double asterisk (**kwargs) is used to pass a keyword, variable length argument list.
In this example, a function passes one required argument and three variable arguments.