break on the end of the else statement, it just says "Sorry, no data for 2020." and then just ends. But if I remove the break , it says its wrong multiple times before finally printing the expected result. If anyone has any insight into why this is happening, I'd really appreciate it!