結果 : how to break recursion python