Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to delete all elements of a list in python

characters = ["Eren Yeager", "Mikasa Ackerman", "Armin Arlert"]
del characters[:]

print(characters)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #elements #list #python
ADD COMMENT
Topic
Name
4+7 =