ShriRam Changed status to publish August 21, 2023
my_list1=[{},{},{}]
my_list2 =[{1,2},{},{}]
print(all(not i for i in my_list1))
print(all(not i for i in my_list2))
ShriRam Changed status to publish August 21, 2023
my_list1=[{},{},{}]
my_list2 =[{1,2},{},{}]
print(all(not i for i in my_list1))
print(all(not i for i in my_list2))