Python Programming - Functions - Discussion

Discussion Forum : Functions - General Questions (Q.No. 52)
52.
What is the purpose of the filter function?
To filter elements from an iterable based on a condition.
To filter files in a directory.
To filter out global variables.
To filter out specific functions from a module.
Answer: Option
Explanation:
The filter function in Python is used to filter elements from an iterable based on a specified condition.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.