Pythonは再帰の最大数を変更します

インポートSYS
は、sys.setrecursionlimit(10000)  #10000として最大の深さを設定します

おすすめ

転載: www.cnblogs.com/xingkongzhizhu/p/11967044.html