What does **kwargs mean in the function?

Questions & AnswersCategory: PythonWhat does **kwargs mean in the function?
Geek Boy Staff asked 2 years ago

What does **kwargs mean in the function?
a. The special syntax **kwargs is most often used in Python function definitions, which is used to pass a variable number of arguments to a function (arguments that do not have a specific name).
b. Python does not have a **kwargs syntax.
c. The special syntax **kwargs is most often used in Python function definitions, which is used to pass a variable number of arguments to a function (arguments with specific names).

1 Answers
Geek Boy Staff answered 2 years ago

c. The special syntax **kwargs is most often used in Python function definitions, which is used to pass a variable number of arguments to a function (arguments with specific names).