Python
Critical
3 weeks ago
RecursionError: maximum recursion depth exceeded
118
0
Stack Trace / Error Log
Traceback (most recent call last):
File "app.py", line 15, in <module>
print(factorial(10000))
File "app.py", line 12, in factorial
return n * factorial(n-1)
File "app.py", line 12, in factorial
return n * factorial(n-1)
[... repeated 996 more times ...]
RecursionError: maximum recursion depth exceeded in comparison
AI Suggested Fix
94% ConfidenceInfinite recursion or recursion depth too deep for the Python interpreter (default 1000).
Did this solution work?
Comments (0)
Join the discussion to help others fix this error.
Log in to commentNo comments yet. Be the first to share!
Issue Details
Status
Category
General
Impact Score
Related Issues
Fixing npm ERR! code EBADENGINE
Node.js • 1 hour ago
Segmentation fault (core dumped)
C++ • 3 hours ago