結果 : close a function in python