All you have to know about functions parameters in Python, just in 5 minutes.

Damian
4 min readMar 30, 2022

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:

--

--

Damian

Anything I want and is related to data. Learning to become a Data Professional.