Skip to content

Commit 206a562

Browse files
BethanyGYrahcaz7
andauthored
Update concepts/recursion/introduction.md
Co-authored-by: Yrahcaz <74512479+Yrahcaz7@users.noreply.github.com>
1 parent 2434c9b commit 206a562

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

concepts/recursion/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Recursion is a way to repeat code in a function by the function calling itself.
44
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.
5+
Like looping, a Boolean expression or `True`/`False` test is used to determine when to stop the recursive execution.
66
_Unlike_ looping, recursion without termination in Python cannot not run infinitely.
77
Values used in each function call are placed in their own [frame][stack-frame] on the Python [interpreter stack][what-is-the-call-stack].
88
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

Comments
 (0)