結果 : how to avoid maximum recursion depth in python