Python Programming - Arrays - Discussion

Discussion Forum : Arrays - General Questions (Q.No. 16)
16.
What does the array.extend(iterable) method do?
Appends the entire array to another array.
Adds elements from an iterable to the end of the array.
Inserts elements from an iterable at a specific index.
Raises a TypeError.
Answer: Option
Explanation:
The extend() method in the array module adds elements from an iterable to the end of the array.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.