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 are built in types in python?
What is a module and package in python?
What is self in oop of python?
What functions or methods will you use to delete a file in python?
How is an empty tuple created?
Write a program to find the duplicates in a list?
Write a small code to explain repr() in python ?
Is python object-oriented? What is object-oriented programming?
Why lambda forms in python do not have statements?
How to merge two dictionaries in a single expression?
What is setup py?
What is loop in python?
What is the dictionary in Python?
What is with keyword in python?
How do I create a countdown timer in python?