>>> 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
Arbisoft -
Arif Hossain -
Simon Napper -
Kelsey Ellis -
Top comments (0)