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