結果 : if else throw exception python