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?

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


Please Help Members By Posting Answers For Below Questions

How is Python used in web development?

897


What is the purpose of the single underscore “_” variable in python?

850


Which programming language is best for finance?

915


What does end do in python?

829


Whats the difference between input() and raw_input()?

919


What is a private method?

861


What does Django mean in Python?

796


What is the best front end for python?

846


Where can I learn python for free?

758


How will you convert an integer to a hexadecimal string in python?

855


Can a class be static?

828


Are functions objects in python?

818


Can you build web apps with python?

801


which statement is used to take a decision based on the comparison?

843


What does tuple mean?

774