結果 : catching an error in python