How do you make a higher order function in Python?
Answer / 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 |
What is python used for at google?
What is the other way of checking truthiness?
Explain about exceptions in python?
What type of a language is python? Interpreted or Compiled?
What does means by split do in python?
How many name spaces are defined in python?
Can we develop a web application using Python
What is python __ repr __?
Is python good for microservices?
Which is more powerful python or c++?
What is the use of pycharm?
What is lambda function ?