파이썬 has key()

1 개요[ | ]

Python has_key()
파이썬 has_key()
Python
CPU
0.0s
MEM
8M
0.0s
Copy
dict = {'first':1, 'second':4}
print('first' in dict) # True
print('third' in dict) # False
True
False

2 같이 보기[ | ]