結果 : how to break the outer loop in python