結果 : how to break nested while loop in python