KnowledgeBoat Logo
|

Robotics & Artificial Intelligence

When the arguments and parameters are with same variable names, they are known as:

  1. default arguments
  2. keyword arguments
  3. positional arguments
  4. None of them

Python Functions

1 Like

Answer

keyword arguments

Reason — Keyword arguments allow us to pass values to a function by specifying argument names matching the parameter names. This gives us the flexibility to write the arguments in any order during the function call, provided the arguments names and the parameters' names are the same.

Answered By

3 Likes


Related Questions