Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function fact(n)
- if n==0: return 1
- return n * fact(n-1)
- end
- for i in [0:16]
- printl (i, "! = ", fact(i))
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement