All you have to know about functions parameters in Python, just in 5 minutes.
There are some things you have to consider to get a better code when you define a function in python. And now I tell you how to use parameters and their kind they are.
Basically we have five types of parameters: non-default parameter, default parameter, optional parameter, arbitrary arguments (*args) and keywords arbitrary arguments (**kwargs).
All these parameters must be declared in the function in the following order: