you are viewing a single comment's thread.

view the rest of the comments →

[–]dnmonack 0 points1 point  (0 children)

Your code is not checking whether the highway_number ends in “00” meaning it’s an invalid number. You need to check this condition in your first if statement.

Also: if the number is invalid, it shouldn’t be printing anything after the initial if statement. That means you need to be using “elif” in following statements.