Python Programming - Lambda Functions - Discussion
Discussion Forum : Lambda Functions - General Questions (Q.No. 11)
11.
In Python, what is the purpose of the
sorted()
function when used with a lambda function?
Answer: Option
Explanation:
The
sorted()
function is used to create a sorted list from the elements of an iterable, with the sorting criteria defined by the lambda function.
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