What do you mean by *args and **kwargs?



Suraj Said

+0 -0

*args and **kwargs is both allow to handle the unspecified number of arguments to a function/method.
*args are used to handle a non-keyworded variable length argument list to the function/method.
**kwargs are used to handle a keyworded variable length argument list to the function/method.



Submit Your Response