首页题库练习题目详情
Python程序设计单选题中等

字典中如何判断一个键是否存在?

Aif 'key' in d
Bif d.containsKey('key')
Cif d.get('key')
Dif d['key'] is not None