#python #sicp
A function is called recursive if the body of the function calls the function
itself, either directly or indirectly
If you want to change selection, open document below and click on "Move attachment"
1.7 Recursive Functions
1.7.1 The Anatomy of Recursive Functions
1.7.2 Mutual Recursion
1.7.3 Printing in Recursive Functions
1.7.4 Tree Recursion
1.7.5 Example: Partitions
1.7 Recursive Functions
Video:
Show
Hide <span>A function is called recursive if the body of the function calls the function
itself, either directly or indirectly. That is, the process of executing the
body of a recursive function may in turn require applying that function again.
Recursive functions do not use any special syntax in Python, but t Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details