Difference between *args and **kwargs | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Difference between *args and **kwargs

9th May 2020, 7:02 AM
srinu
srinu - avatar
2 Answers
+ 3
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.
9th May 2020, 7:17 AM
A C K
A C K - avatar