結果 : handling different types of exceptions in python