Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- factorial(x):
- if x >= 1:
- return x * factorial(x-1)
- else:
- return 1
- print factorial(15)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement