>>> list1 = [1, 2, 3, 4, 5]
>>> print(list1[len(list1)-1])
5
>>> print(list1[-1])
5
>>> print(list1.pop())
5
>>>
For further actions, you may consider blocking this person and/or reporting abuse
>>> list1 = [1, 2, 3, 4, 5]
>>> print(list1[len(list1)-1])
5
>>> print(list1[-1])
5
>>> print(list1.pop())
5
>>>
For further actions, you may consider blocking this person and/or reporting abuse
balrajOla -
david wyatt -
Olibhia Ghosh -
Mona M. Abd El-Rahman -
Top comments (0)