Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = 1
- N = int(input())
- while N > 1:
- x *= N
- N -= 1
- print(x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement