How can I differentiate between two ValueError exceptions in Python

visit shbcf.ru