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.

Get hands-on with 1200+ tech skills courses.