To remove the last element of a list, we code the list name numbers, and period ., and the instruction pop().
To remove a value at a specific index, we add the index we want to remove in parenthesese, like pop(0).
>>> numbers = [99,1,2,3,4,99]
>>> numbers.pop()
99
>>> numbers
[99, 1, 2, 3, 4]
>>> numbers.pop(0)
99
>>> numbers
[1, 2, 3, 4]