結果 : write try catch in python