.remove(elem) removes and returns the first occurrence of the element in the list.

You get an error if elem is not in the list.

another_list = [’a’, ‘b’, ‘c’, ‘b’]

another_list.remove(’b’)

another_list is now [’a’, ‘c’, ‘b’]