===== script ===== fac := { 0 -> 1 n -> * n (fac (- n 1)) } print (fac 10) ===== output ===== 3628800