Question: Which statement is true about the * args and * * kwargs special arguments? Both may be used in a single function definition, and *
Which statement is true
about the args and kwargs special arguments?
Both may be used in a single function definition, and args and kwargs may appear in any order in the argument list.
Both may be used in a single function call, but args must appear before kwargs in the argument list
Any single function definition can only define args or kwards, but never both.
Both may be used in a single function definition, but kwargs must appear before args in the argument list.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
