The call stack manage the order of function calls.
A frame object represents the state of a function call.
In Python, the limit of stack size is around 1000.
To avoid a crash there must be a base case.
What is the call stack?
What is a frame object?
What is the stack overflow limit in Python?
How do we avoid a crash when using recursion?