結果 : how to exit function python