Question PRG-PY-0058
MediumWhat does *args collect in a function definition?
- A.
Only the first argument
- B.
Extra positional arguments, as a tuple
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Python question
What does *args collect in a function definition?
Only the first argument
Extra positional arguments, as a tuple
Sign up free to see the answer and a step-by-step explanation.
Default values
Keyword arguments, as a dict