Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to clear the list in python

thislist = ["apple", "banana", "cherry"]
thislist.clear()
print(thislist)
 
PREVIOUS NEXT
Tagged: #clear #list #python
ADD COMMENT
Topic
Name
6+2 =