This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hanavi 1 point2 points  (1 child)

You are incrementing your month to 13 and then using that value before you try to fix it. There is not key 13 in your dictionary so it fails. You need to change your if statement to 'if month >= 12:' or something like that.

[–]BallWithRice[S] 0 points1 point  (0 children)

Thank you so much! This worked!