>>> 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
Bjerregaard Falk -
Dejin Ma -
evle -
Dejin Ma -
Top comments (0)