Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

clear list

# clear list
my_list =  [ 11, 22, 33, 44, 55 ]
my_list.clear()
print( my_list )					# [ ]
 
PREVIOUS NEXT
Tagged: #clear #list
ADD COMMENT
Topic
Name
8+6 =