I have stumbled upon several functions where they are defined as such :
f(x,y, *, z, w, **kwargs)
I was wondering what is the purpose of the asterix *
in the middle ?
Is it used to explicitly separate the arguments x
, y
and the others ?
I'm a bit confused on why to put this because we could also remove it like f(x,y, z, w, **kwargs)
and would change the behavior of f
?