my_dict = {}  
  
if not bool(my_dict):  
    print("Dictionary is empty")

 

相关文章:

  • 2022-02-10
  • 2021-11-02
  • 2021-12-04
  • 2021-12-10
  • 2021-10-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-04-09
  • 2022-12-23
  • 2022-01-24
  • 2021-10-07
  • 2022-12-23
  • 2022-01-01
相关资源
相似解决方案