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 alexandra-zaharia.github.io #
 
PREVIOUS NEXT
Tagged: #delete #elements #list #python
ADD COMMENT
Topic
Name
9+9 =