+ 2
KeyError in Python
A wrote this code a while back and I have just noticed that I get an error if my input starts with j. I am not sure why. Could anyone explain what is going on? Thanks https://code.sololearn.com/cihR795ohx2S/?ref=app
3 ответов
+ 8
you are missing a key: value pair in the "worth" dictionary for 'j'
+ 6
xD
+ 2
So dumb!!!! Thanks a ton