Python Programming - Functions - Discussion

Discussion Forum : Functions - General Questions (Q.No. 8)
8.
How do you pass a variable number of arguments to a function?
Using the *args syntax
Using the **kwargs syntax
Using the varargs() function
Using the arg_count parameter
Answer: Option
Explanation:
The *args syntax allows a function to accept a variable number of positional arguments.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.