python Usuń element z listy
myList.remove(item) # Removes first instance of "item" from myList
myList.pop(i) # Removes and returns item at myList[i]
usuń wartość w Pythonie listy
list.remove(element)
usuń wartość z listy Pythona według wartości
>>> a = ['a', 'b', 'c', 'd']
>>> a.remove('b')
>>> print a
['a', 'c', 'd']
jak usunąć element z listy
myList = ['Item', 'Item', 'Delete Me!', 'Item']
del myList[2] # myList now equals ['Item', 'Item', 'Item']
jak usunąć element z listy w Pythonie i wydrukować go
pop(n) removes the element at the given index number and can print it