結果 : loop if statement until true python