
What are they? Where to use them? How to use them?



https://en.wikipedia.org/wiki/Lambda_calculus
In Python it consists of:
keyword - lambda
bound variable - x
body - x + 1 (always single expression)
It's also referred to as Anonymous function

It can be executed right away - you just need to wrap it with parenthesis and call it the same way as a regular function

Although they can be used, it's preferred to use list comprehension where you can
