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
How does a function return values?
Why are tuples immutable?
Can we write else statement try block in python?
How do I run a script in python shell?
What is enumerate python?
When do you use list vs. tuple vs. dictionary vs. set?
What is a function in python programming?
What is setup cfg?
How to concatenate two lists in python?
Is python too slow?
What is the use of dir() function?
Are functions objects in python?
What is python shell and idle?
Explain between deep and shallow copy?
What is split() function?