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 the use of sets in python?
What is the difference between list and tuples in python?
What is the best notepad?
Do lists start at 0 or 1 java?
What does float () do in python?
What is the main use of python?
What is the difference between a function and a method python?
As python is more suitable for the server-side application, it is very important to have threading implemented in your server code. How can you achieve that in python?
How will you reverse a list?
What is final and super keyword difference between them?
What is setup script?
In Python what is slicing?
Write a small code to explain repr() in python ?
Why is used in python?
What is tkiner?