Python Programming - Arrays - Discussion

Discussion Forum : Arrays - General Questions (Q.No. 15)
15.
What is the purpose of the array.remove(element) method in the array module?
Removes the first occurrence of the specified element from the array.
Removes all occurrences of the specified element from the array.
Removes the element at the specified index.
Raises a ValueError.
Answer: Option
Explanation:
The remove() method in the array module removes the first occurrence of the specified element from the array.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.