結果 : if else raise exception python