2022-11-13 10:39:28 -08:00

7 lines
188 B
Python

>>> def foo(*args, **kwargs):
... print(args)
... print(kwargs)
...
>>> foo("This", "is a bunch", "of arguments", "to the function",
... a="hello", b="world", bar="good day!")