单项选择题

在Python中,如何检查一个字典是否为空?()

A.len(dict)==0
B.dict.isEmpty()
C.not dict
D.A和C都对

微信扫码免费搜题