結果 : how to break a nested for loop in python