3 ms·
No kidding. A much, much more simple way to put it is anything *args is a list, anything **kwargs is a dictionary. The * simply means list (set).
by drawkbox 17y ago
No kidding.
A much, much more simple way to put it is
anything *args is a list, anything **kwargs is
a dictionary.
The * simply means list (set).
** simply means dictionary (name/value pairs)
* and ** has a much different meaning in other
languages as parameters.
* args is very similar to ... in other languages
that let you send n arguments.