Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to remove items from list in python

# plz suscribe to my youtube channel -->
# https://www.youtube.com/channel/UC-sfqidn2fKZslHWnm5qe-A
fruits = ["apple","charry","orange"]
fruits.extend(("banana","guava","rasbarrry"))
print(fruits)
#remove items from list
fruits.remove("apple")
print(fruits)
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #remove #items #list #python
ADD COMMENT
Topic
Name
5+6 =