Python forcefully limits recursion depth to one thousand
Because the interpreter doesn't trust you to not blow up your own computer. If a Python function calls itself more than a thousand times, the system abruptly kills the program to prevent your sloppy loop from eating all the system memory.

Keep exploring facts in this topic.
Technology →




