Python Programming - Lists - Discussion

Discussion Forum : Lists - General Questions (Q.No. 37)
37.
How can you remove the first occurrence of a specific element from a list in Python?
list.delete(element)
list.pop(element)
list.remove(element)
list.exclude(element)
Answer: Option
Explanation:
The remove() method is used to remove the first occurrence of a specific element from a list.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.