What is a lambda function in Python?
user
A lambda function is a small, anonymous function that can be defined inline without using the 'def' keyword. It can take arguments and return a single expression.
assistant