파이썬 목록에서 요소 제거
myList.remove(item) # Removes first instance of "item" from myList
myList.pop(i) # Removes and returns item at myList[i]
목록 파이썬을 삭제하는 방법
# delete by index
a = ['a', 'b', 'c', 'd']
a.pop(0)
print(a)
['b', 'c', 'd']
항목 목록 파이썬 제거
list.remove(element)