A task inside itself

Same task. Smaller input. Stop, then bring the answer back.

The same function at every level

Ready to start

facFunc(3)
n = 3
def facFunc(n):
    if n == 0:
        return 1
    return n * facFunc(n - 1)
The taskFind 3!

Answer to the original call

facFunc(3)?

A smaller copy of the task inside

Ready

Open the task to see what it needs.

3! = 3 × 2 × 1

Press Next to start.

To find 3!, solve a smaller version of the same task.

Step 1 of 10