In python lambda stands for an anonymous function. It is used for creating small functions that are typically only used a few times. A lambda function can only perform one lines worth of operations on a given input. To declare a lambda function is similar to creating a variable.
The parameter(s) for a lambda function comes before the colon (in our case x) and what will be returned comes after (x+5). We can use our lambda function the same as a regular function.
Lambda functions can also use multiple parameters.
Lambda with Map() & Filter()
The most common place to use a lambda function is within the map or filter functions.