結果 : python if then exit loop