remove (method)

remove(self, x)[source]

Remove the first item from the list whose value is equal to x. It raises a ValueError if there is no such item.