Python Programming - Arrays - Discussion

Discussion Forum : Arrays - General Questions (Q.No. 7)
7.
What does the array.append(element) method do?
Appends a new array to the existing array.
Adds an element to the end of the array.
Removes the last element from the array.
Raises an IndexError.
Answer: Option
Explanation:
The append() method in the array module adds an element 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.