here is the simple code for calculating fibonacci series:
def fib(n):
if n==0 or n==1:
return 1
else:
return fib(n-1)+fib(n-2)
if n=10, I want to know how many stack frames are involved for this calculation. Is there a way to get in real time?