Lambda Functions


What are lambda functions in Python?

In Python, an anonymous function is a function that is defined without a name.

Anonymous functions are defined using the lambda keyword.

Hence, anonymous functions are also called lambda functions.

Syntax of Lambda Function in python

lambda arguments: expression