DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to clear all elements in a list python
# this clear whole elements from list
thislist
=
[
"apple"
,
"banana"
,
"cherry"
]
thislist
.
clear
(
)
PREVIOUS
NEXT
Tagged:
#clear
#elements
#list
#python
ADD COMMENT
Topic
COMMENT
Name
1+9 =
Submit