What is lamda function | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is lamda function

what does lambda and filter does? where we can use it?

27th Aug 2017, 8:15 AM
Sharath
Sharath - avatar
2 Answers
+ 6
// Hi Sharath, // the lambda is used to create a method with a single line // For example : // method = lambda x : x * x // def method(x): // return x * x
6th Dec 2018, 8:38 PM
program
program - avatar
0
thanks for info..
27th Aug 2017, 11:32 AM
Sharath
Sharath - avatar