Python Programming - Lists - Discussion

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

Post your comments here:

Your comments will be displayed after verification.