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