def cf(x,n): if n==1: return x else: return x*cf(x,n-1) print(cf(x,n))
------Input------ 10 7 ------Answer----- 10000000 ------Your output-----