0 votes
in Python by
What is the lambda function?

1 Answer

0 votes
by
An anonymous function is known as a lambda function. This function can have only one statement but can have any number of parameters.

a = lambda x,y : x+y

print(a(5, 6))

Related questions

0 votes
asked Dec 14, 2019 in Python by sheetalkhandelwal
0 votes
asked May 17, 2020 in Python by SakshiSharma
...