我想做类似于:
foo = { 'foo': 1, 'zip': 2, 'zam': 3, 'bar': 4 } if ("foo", "bar") in foo: #do stuff
我如何检查字典foo中是否同时存在foo和bar?
foo
bar
用户名或邮箱地址
密码