Python Programming - Lambda Functions - Discussion

Discussion Forum : Lambda Functions - General Questions (Q.No. 6)
6.
What is a disadvantage of using lambda functions?
They cannot be used in higher-order functions
They can only contain a single expression
They are less efficient than regular functions
They cannot be assigned to variables
Answer: Option
Explanation:
Lambda functions are limited to a single expression, which may be a disadvantage when more complex logic or multiple statements are required.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.