def fact( value ): if value <= 1 : return 1 else : return value * fact( value-1 ) fact(4) fact(6) fact(10) fact(12) fact(1)