Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

tag for deleting from a list in python

keywords = [1, 2, 3, "a", "b"]
#TO REMOVE THE LETTER "b"
keywords.remove("b")
#PRINT THE UPDATED LIST
print(keywords)
Source by www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #tag #deleting #list #python
ADD COMMENT
Topic
Name
9+9 =