結果 : how to end a procedure in python