Python Programming - Lambda Functions - Discussion
Discussion Forum : Lambda Functions - General Questions (Q.No. 52)
52.
In Python, how can a lambda function be used with the
max()
function to find the maximum length string in a list?
Answer: Option
Explanation:
The
key
parameter is used to specify the lambda function that calculates the length of each string.
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