DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
delete all elements in list python
mylist = [1, 2, 3, 4] mylist.clear() print(mylist) # []
Source by www.programiz.com #
PREVIOUS
NEXT
Tagged:
#delete
#elements
#list
#python
ADD COMMENT
Topic
COMMENT
Name
4+1 =
Submit