Hi there folks. I have come to see that most new python programmers have a hard time figuring out the *args
and **kwargs
magic variables. So what are they ? First of all let me tell you that it is not necessary to write *args
or **kwargs
. Only the *
(aesteric) is necessary. You could have also written *var
and **vars
. Writing *args
and **kwargs
is just a convention. So now lets take a look at *args
first.