Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python remove element from list

myList.remove(item) # Removes first instance of "item" from myList
myList.pop(i) # Removes and returns item at myList[i]
 
PREVIOUS NEXT
Tagged: #python #remove #element #list
ADD COMMENT
Topic
Name
7+5 =