結果 : python exit for loop based on condition