結果 : python exit loop if condition is met