Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.07 KB | None | 0 0
  1. N=int(input())
  2. d=1
  3. s=1
  4. while d<=N:
  5.     s = s*d
  6.     d +=1
  7. print(s)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement