+ 5
The concept named recursion may be in Python Core 68.1 Lesson
e.g.
def test(num, func):
num = num - 1
if num >= 0:
func(num)
test(num, func)
def doSomething(val):
print(val)
# loop ten times to do something
test(10, doSomething)