Login
Remember
Register
Ask a Question
What is the lambda function?
0
votes
asked
Oct 14, 2021
in
Python
by
rajeshsharma
What is the lambda function?
lambda-function
Python-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 14, 2021
by
rajeshsharma
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))
...