結果 : python if else exit loop