Predict the outputExercise 3/6Intermediate30 XP

Before and after the call

Task

Without running the program, write exactly what it prints.

def tlac(n):
if n == 0:
return
print(n)
tlac(n - 1)
print(n)
​
tlac(3)

You need to know

Your answer

Put each printed line on its own line.

Hints

Try it yourself first. Each hint reveals a little more - and lowers the reward a little.

Signed out, hints are free - but no XP is awarded either.

Solution

The solution unlocks after the last hint.