結果 : exit for loop when condition is met python