Write a Python program to check whether all dictionaries in a list are empty or not
- برمجة
- برمجة بايثون
- 2021-04-15
- salsabeelalhams99111801528
الأجوبة
my_list = [{},{},{}]
my_list1 = [{1,2},{},{}]
print(all(not d for d in my_list))
print(all(not d for d in my_list1))القوائم الدراسية التي ينتمي لها السؤال