Advertisement
Guest User

Untitled

a guest
Feb 5th, 2015
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.10 KB | None | 0 0
  1. (defun factorial (n)
  2.      (if (<= n 1)
  3.          1
  4.          (* n (factorial (- n 1)))
  5.      )
  6. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement