Python 101: Lambda Basics
Many programming languages have the concept of the lambda function. In Python, the lambda is an anonymous function or unbound function. The syntax for them looks a bit odd, but it’s actually just taking a simple function and turning it into a one-liner. Let’s look at a regular simple function to start off: #———————————————————————- def […]
Python 101: Lambda Basics Read More »