Python List remove() Method
Python list remove() function removes the first occurrence of a given item from list. It make changes to the current list. It only takes one argument, element we want to remove and if that element is not present in the list, it gives ValueError.Example:Pythona = ['a', 'b', 'c'] a.remove("b") print(a