Zanjo_Betchi

W4A2 : Large Numbers

Aug 20th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. '''
  2. @Author: Zanjo
  3. @Date Of Creation: 22/8/18
  4. '''
  5.  
  6. def factorial(n):
  7.   if n<= 1:
  8.     return 1
  9.   return n * factorial(n-1)
  10. print(factorial(int(input())),end="")
Add Comment
Please, Sign In to add comment