Vidyalelo
Python · Q69

Functions in Python

Programming · Python · question 69

Q69

How can you define a function that accepts both positional and keyword arguments?

A.
By using both *args and **kwargs
Answer
B.
By using the * symbol
C.
By using the ... symbol
D.
By using the @args decorator

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board