Обработка DICT неверный ключ Python
myDict = {0: 'Hello', 1: 'World'}
0 in myDict
# >>> True
2 in myDict
# >>> False
Anxious Alligator
myDict = {0: 'Hello', 1: 'World'}
0 in myDict
# >>> True
2 in myDict
# >>> False