Python Programming - Lambda Functions - Discussion
Discussion Forum : Lambda Functions - General Questions (Q.No. 28)
28.
What does the following lambda function do?
lambda x, y: x if x > y else y
Answer: Option
Explanation:
The lambda function returns the larger value between x and y using a conditional expression.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers