I think I will just catch the ValueError and display the appropriate messages, so there will be no if clauses.