What does the **kwargs notation in function parameters allow for?

  • It allows passing a variable-length list of keyword arguments to the function.
  • It allows specifying keyword arguments in a specific order.
  • It allows specifying optional keyword arguments with default values.
  • It allows specifying required keyword arguments.
'**kwargs' in function parameters allows passing a variable number of keyword arguments to a function, making it more flexible and dynamic.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *