Difference between *args and **kwargs | Sololearn: Learn to code for FREE!


Difference between *args and **kwargs

5/9/2020 7:02:01 AM


2 Answers

New Answer


Hello srinu, *args passes variable number of non-keyworded arguments list and on which operation of the list can be performed. while **kwargs passes variable number of keyword arguments dictionary to function on which operation of a dictionary can be performed.


Hello! 🙂 https://www.google.ro/amp/s/www.geeksforgeeks.org/args-kwargs-python/amp/