如何测试字典中是否存在a任何键?bc
a
b
c
Python中有一些简短的方法吗?
有了两把钥匙,我就可以使用
if a or b in my_dict.keys():
我怎样才能用三把钥匙做同样的事情?
python dictionary contains
contains ×1
dictionary ×1
python ×1