結果 : how to break nested loop python