...

/

Higher-Order Functions

Higher-Order Functions

Learn about the usage of some higher-order functions in Python.

A higher-order function is a function that can receive other functions as arguments or return them.

For example, we can pass a lambda function to the built-in sorted() function to sort a dictionary by values instead of keys.

Access this course and 1400+ top-rated courses and projects.