DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+7 =
Submit