Instagram
youtube
Facebook
Twitter

Python Program to Delete Element at End of List

A Python Program to Delete Element at End of List

Code Explanation:

pop() without any argument removes the last element of the list.
• It also returns the deleted value if needed.

Program:

my_list = [11,22,33,44,55,66,77,88,99,100]

my_list.pop()

print(my_list)