0 votes
in Python by (23.1k points)
What is the lambda function?

1 Answer

0 votes
by (23.1k points)
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
+1 vote
0 votes
0 votes
...