結果 : how to break out of outer loop in python