RosettaCodeData/Task/Factorial/PicoLisp/factorial-1.l

5 lines
66 B
Plaintext

(de fact (N)
(if (=0 N)
1
(* N (fact (dec N))) ) )