We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2434c9b commit 206a562Copy full SHA for 206a562
1 file changed
concepts/recursion/introduction.md
@@ -2,7 +2,7 @@
2
3
Recursion is a way to repeat code in a function by the function calling itself.
4
It can be viewed as another way to loop/iterate.
5
-Like looping, a Boolean expression or `True / False` test is used to know when to stop the recursive execution.
+Like looping, a Boolean expression or `True`/`False` test is used to determine when to stop the recursive execution.
6
_Unlike_ looping, recursion without termination in Python cannot not run infinitely.
7
Values used in each function call are placed in their own [frame][stack-frame] on the Python [interpreter stack][what-is-the-call-stack].
8
If the total number of function calls takes up more space than the stack has room for, it will result in an error.
0 commit comments