DEV Community

Bas Terwijn
Bas Terwijn

Posted on

Recursion in Python

Recursion gets easier when you can see that each function call has its own variables on the call stack.

🧠 Understand the Python Data Model better using memory_graph
🎥 Watch the explainer on Python Mutability

factorial

Top comments (0)