Intermediate Python
Q43 / 101

What does the *args parameter syntax allow?

Correct! Well done.

Incorrect.

The correct answer is C) Accepting a variable number of positional arguments as a tuple

C

Correct Answer

Accepting a variable number of positional arguments as a tuple

Explanation

def f(*args) captures any number of positional arguments as a tuple. **kwargs captures keyword arguments as a dict.

Progress
43/101