Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do you make a higher order function in Python?



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

Post New Answer

More Python Interview Questions

What is uuid used for?

0 Answers  


What do you mean by ‘suites’ in python?

0 Answers  


What is s in python 3?

0 Answers  


Does python has any command to create variable?

0 Answers  


Is map faster than for loop python?

0 Answers  


What is the difference between re.search and re.match?

0 Answers  


is Python similar to ruby?

0 Answers  


What are the built-in types of python?

0 Answers  


What is slice notation in python to access elements in an iterator?

0 Answers  


What are the rules for a local and global variable in python?

0 Answers  


What does if __name__ == “__main__”: do?

0 Answers  


What is a class and super class?

0 Answers  


Categories