python using boolean len comparing with

26

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

Comments

Submit
0 Comments