python list remove : The remove() functionremoves the occurrence (lowest index) of a givenelementfrom the list.
remove ():-Removes Element at Given Index.
e.g:-
list1 = [1, 2, 3, 4, 5, 6, 1, 2, 3]
list1.remove (1) # remove first occurrence of element 1
O/p:-
list1=[2, 3, 4, 5, 6, 1, 2, 3]