Python Programming - Lambda Functions - Discussion

Discussion Forum : Lambda Functions - General Questions (Q.No. 14)
14.
What is the purpose of the any() function when used with a lambda function?
To apply the lambda function to each element of an iterable
To check if any element in an iterable satisfies the lambda function's condition
To create a filter based on the lambda function's condition
To map the lambda function to each element of an iterable
Answer: Option
Explanation:
The any() function returns True if at least one element in the iterable satisfies the condition specified by the lambda function.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.