Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check if list is empty python

if len(li) == 0:
    print('the list is empty')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #list #empty #python
ADD COMMENT
Topic
Name
6+7 =