프로그래밍/시행착오

Python Dictionary가 비어있는지 확인하기

Cycrypt0 2021. 8. 30. 14:01
728x90
d = {}
any(dict) == False
# 비어있으면 참, 아니면 거짓

 

728x90