結果 : how to write break function in python