说看电脑性能。。。
你能写多少层?
Set the maximum depth of the Python interpreter stack to limit. This limit prevents infinite recursion from causing an overflow of the C stack and crashing Python.
The highest possible limit is platform-dependent. A user may need to set the limit higher when they have a program that requires deep recursion and a platform that supports a higher limit. This should be done with care, because a too-high limit can lead to a crash.
【 在 ToSimplicity 的大作中提到: 】
:
https://docs.python.org/3/library/sys.html#sys.setrecursionlimit--
FROM 117.40.134.*