Python Programming - Functions - Discussion

Discussion Forum : Functions - General Questions (Q.No. 80)
80.
What is the purpose of the functools.partial function?
To create partial functions with default arguments.
To create decorators for functions.
To create anonymous functions.
To create static methods in a class.
Answer: Option
Explanation:
The functools.partial function is used to create partial functions with default arguments.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.