boolean in python

33

my_list = []
if not my_list:
    print("the list is empty")

Comments

Submit
0 Comments