New course! Every coder should learn Generative AI!
Try a free lesson0
How can i fix the keyerror
1 Answer
+ 1
What your else part about?
Your program not dealing with single digit date, month. Ex: 1/1/2000
zzzz value for this input is 1/1 and dict have no key for this.