DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python list remove all elements
l = [1,2,3,4] l.clear()
Source by note.nkmk.me #
PREVIOUS
NEXT
Tagged:
#python
#list
#remove
#elements
ADD COMMENT
Topic
COMMENT
Name
7+2 =
Submit