Guest User

Untitled

a guest
May 5th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. (defn pascal_tri [x y]
  2. (if (or (= x y)(= y 0))
  3. 1
  4. (+ (pascal_tri (- x 1)(- y 1))
  5. (pascal_tri (- x 1) y))
  6. ))
Add Comment
Please, Sign In to add comment