Python Programming - Standard Libraries - Discussion

Discussion Forum : Standard Libraries - General Questions (Q.No. 47)
47.
What does the itertools.chain() function do?
Chains two or more iterables into a single iterable
Generates all possible permutations of an iterable
Repeats an iterable indefinitely
Filters elements based on a predicate function
Answer: Option
Explanation:
The itertools.chain() function in Python chains two or more iterables into a single iterable.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.