What is the difference between positional and keyword arguments?
Functions and arguments
Audio flashcard · 0:14Nortren·
What is the difference between positional and keyword arguments?
0:14
Positional arguments are matched to parameters by their position in the call. Keyword arguments are matched by name using the equals sign. Positional must come before keyword in a call. Functions can be defined to accept either, both, or to require one specific kind.
docs.python.org