結果 : how to exit recursive function python