Answers for "can python tell if a list is empty"

0

can python tell if a list is empty

>>> if len(a)==0:
    print ("list is empty")
else:
    print ("list is not empty")
Posted by: Guest on November-26-2019

Code answers related to "can python tell if a list is empty"

Python Answers by Framework

Browse Popular Code Answers by Language