結果 : how to quit function in python