Python Programming - Generators - Discussion
Discussion Forum : Generators - General Questions (Q.No. 65)
65.
How does the
itertools.filterfalse()
function differ from filter()
when used with generators?
Answer: Option
Explanation:
itertools.filterfalse()
filters elements from the generator for which the filtering function returns false, while filter()
filters based on a true condition.
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