Answer Posted / chaitanya
A higher-order function accepts one or more functions as input and returns a new function. Sometimes it is required to use function as data
To make high order function , we need to import functools module
The functools.partial() function is used often for high order function.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is self in python constructor?
What is none literal in python?
Do you know what does the
What are the applications of python?
Why super is used in python?
What packages in the standard library, useful for data science work, do you know?
What is final and super keyword difference between them?
What is type conversion in python?
Why python is the best?
Name the built-in types provided by python?
Write a regular expression that will accept an email id. Use the re module.
What is the with statement in python?
What happens with the following function definition?
What is os module?
How do I generate random numbers in python?