結果 : how to terminate the code in python