python elimină elementul din listă
myList.remove(item) # Removes first instance of "item" from myList
myList.pop(i) # Removes and returns item at myList[i]
ștergeți o valoare din lista python
list.remove(element)
eliminați valoarea din lista python după valoare
>>> a = ['a', 'b', 'c', 'd']
>>> a.remove('b')
>>> print a
['a', 'c', 'd']
cum să ștergeți un element dintr-o listă python
myList = ['Item', 'Item', 'Delete Me!', 'Item']
del myList[2] # myList now equals ['Item', 'Item', 'Item']
cum să eliminați un element din listă în python și să îl imprimați
pop(n) removes the element at the given index number and can print it