Python Programming - Functions - Discussion
Discussion Forum : Functions - General Questions (Q.No. 43)
43.
What is the purpose of the
*args
and **kwargs
parameters in a function definition?
Answer: Option
Explanation:
*args
is used to pass a variable number of positional arguments, and **kwargs
is used to pass a variable number of keyword arguments to a function.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers