manipuler un python de clé invalide dict
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