파이썬 목록에서 요소 제거
myList.remove(item) # Removes first instance of "item" from myList
myList.pop(i) # Removes and returns item at myList[i]
목록 파이썬에서 값 삭제
list.remove(element)
값으로 파이썬 목록에서 값 제거
>>> a = ['a', 'b', 'c', 'd']
>>> a.remove('b')
>>> print a
['a', 'c', 'd']
목록 파이썬에서 항목을 삭제하는 방법
myList = ['Item', 'Item', 'Delete Me!', 'Item']
del myList[2] # myList now equals ['Item', 'Item', 'Item']
파이썬에서 목록에서 요소를 제거하고 인쇄하는 방법
pop(n) removes the element at the given index number and can print it