Use of *args and **kwargs [duplicate]
The syntax is the * and **. The names *args and **kwargs are only by convention but there’s no hard requirement to use them. You would use *args when you’re not sure how many arguments might be passed to your function, i.e. it allows you pass an arbitrary number of arguments to your function. For … Read more