結果 : how to stop a recursive function python