Why lambda forms in python do not have statements?
Answer / Harshit Arora
In Python, `lambda` functions are anonymous and are used for short, simple functions. They cannot have a body with multiple lines or statements, so they can only contain one expression.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is indentation required in python?
What is python xrange?
What is the difference between a function and a method python?
What does __ file __ mean?
Why do we need to overload operators?
How ternary operators are used in python?
What does truncate mean in python?
How do you sort values in descending order in python?
Explain raise keyword?
What is python easy?
What is tuple unpacking?
What is python coded in?