Python Programming - Functions - Discussion

Discussion Forum : Functions - General Questions (Q.No. 68)
68.
What is the purpose of the itertools.chain function?
To concatenate two lists.
To chain multiple iterables into a single iterable.
To filter elements from an iterable.
To create a chain of functions.
Answer: Option
Explanation:
The itertools.chain function in Python is used to chain multiple 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.