Keyerror: 0 Python

# no such element 0 in the dictionary
Panicky Pigeon