結果 : how to exit recursion python