Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = int(input())
- factorial = 1
- for i in range(2, n+1):
- factorial *= i
- print(factorial)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement