Note: I use Python 3, but most of these should work in Python 2 too.
Lambda functions are also known as anonymous functions and are typically
passed as arguments to other functions. Notable examples are the map()
,
reduce()
, filter()
built-in functions which require a function to be
passed as an argument.