MENU
Question -

How do you make a higher order function in Python ?



Answer -

● A high 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, one need the import functools module.
● The functools.partial() function is used often for high order function.

Comment(S)

Show all Coment

Leave a Comment

Free - Previous Years Question Papers
Any questions? Ask us!
×