What is a Lambda Function in Python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is a Lambda Function in Python

19th Apr 2021, 1:04 PM
Deepak Kumar
Deepak Kumar - avatar
3 Answers
+ 4
Didn't understand the lambda function?? If so, see the comments and try it your self too. https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2460/?ref=app
19th Apr 2021, 2:02 PM
Scarlet Witch
Scarlet Witch - avatar
+ 2
Using lambda you can create function without any name.
19th Apr 2021, 5:34 PM
KUMAR SHANU
KUMAR SHANU - avatar
+ 2
Deepak Kumar In Python, a lambda function is a single-line function declared with no name, which can have any number of arguments, but it can only have one expression. Such a function is capable of behaving similarly to a regular function declared using the Python's def keyword
20th Apr 2021, 10:53 PM
❤️😍Prerana😍❤️
❤️😍Prerana😍❤️ - avatar