📌  相关文章
📜  在 python 代码示例中检查天气字典是否为空

📅  最后修改于: 2022-03-11 14:45:07.445000             🧑  作者: Mango

代码示例1
empty_dict = {}
 
if empty_dict:
    print('Dictionary is not empty!')
else:
    print('Dictionary is empty!')