#!/usr/bin/python # base function def jc(n): if n==1: return 1 return n * jc(n-1) print "hello jc(5)=", jc(5)