Dictionaries and Frequency Tables


Someone kindly help me to identify the problem in my code. I have counter checked several times and even tried to compare it with the answer provided and still can’t trace where the error is. However, when I try to run the code, it is flagging an error “key error”. I have provided a screenshot of both the exercise and the code below. I will highly appreciate your assistance.

Hey there @gitaumoses243. If you look at how you initially set up your dictionary, there is no ‘100000+’ key, it says ‘100000’ instead. :slightly_smiling_face:

1 Like

Thankyou so much april.g. It worked. That’s where the problem was. I really do appreciate you assistance.

1 Like