結果 : python if else raise exception