Python Programming - Lambda Functions - Discussion

Discussion Forum : Lambda Functions - General Questions (Q.No. 47)
47.
What is the primary advantage of using a lambda function over a regular function?
Lambda functions support multiple expressions and statements.
Lambda functions can be recursive.
Lambda functions are more memory-efficient.
Lambda functions are concise and can be written in a single line.
Answer: Option
Explanation:
Lambda functions are often used for short, simple tasks due to their concise syntax, allowing them to be written in a single line.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.