Consider this basic recursion in Python:
def fibonacci(number): if number == 0: return 0 elif number == 1: return 1 else: return
I would really recommend that you put your code in the Python tutor.
You will the be able to get it on the fly. See the stackframe, references, etc.