結果 : terminate function in python