You are viewing a single comment's thread. Return to all comments →
Pythonistas, use sys.setrecursionlimit()
import sys sys.setrecursionlimit(100000)
This will avoid runtime error because the Python compiler supports atmost 1000 recursions.
Seems like cookies are disabled on this browser, please enable them to open this website
Cut the Tree
You are viewing a single comment's thread. Return to all comments →
Pythonistas, use sys.setrecursionlimit()
This will avoid runtime error because the Python compiler supports atmost 1000 recursions.