Say you want to get the nth Fibonacci Number. Then, one possibility is to use the recursive function
def Fib(n, d): """Assumes n is an int