When developing in Python, it’s common to come across **kwargs
.
What is the double asterisk (**) in Python?
If a function parameter explictly denotes the double asterisk:
|
|
kwargs
will represent a dictionary of the key word arguments given to the function.
NOTE: kwargs
is a standard name that refers to “key word arguments”; however, any name may be used.
Output:
|
|