# Jay Summet (Georgia Tech)
# CS 1301 - Simple Recursive Factorial Example
#

def fac( N ):

    print "top of fac, N is:", N
    
    if N == 0:
        Answer = 1
    else:
        Answer = N * fac( N-1)

    print "Bottom of Fac, Answer is:", Answer

        
    return(Answer)




myAnswer = fac(5)
    

print "Final answer is:", myAnswer
