python using boolean len comparing with

36

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

Comments

Submit
0 Comments