Python Programming - Generators - Discussion
Discussion Forum : Generators - General Questions (Q.No. 85)
85.
How does the
itertools.dropwhile()
function differ from itertools.filterfalse()
when used with generators?
Answer: Option
Explanation:
itertools.dropwhile()
skips elements until a specified condition becomes false, while itertools.filterfalse()
filters elements based on a false 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