lambda function is a small anonymous function. it can take any number of arguments, but can only have one expression.
Interviews4 answers
What is a lambda function?
4 Answers
Arun Kumar TiwariPosted Oct 21, 2019, 8:20 AM EDT
A lambda function is a small anonymous function.
A lambda function can take any number of argument but can only have one expression.
Example
X=lambda a:a 10
print(X (5))
Md SarfarajPosted Jul 23, 2019, 10:38 PM EDT
test
Agyekum EssienPosted Jul 6, 2019, 11:41 PM EDT
A lambda function is a small anonymous function.
A lambda function can take any number of arguments, but can only have one expression.
x = lambda a, b : a * bprint(x(5, 6))
Bidyasagar MishraPosted Jul 4, 2019, 8:40 PM EDT



