Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a=int(input())
- def dl(a):
- '''a: integer'''
- n = 0
- while a != 0:
- n += 1
- a //= 10
- return n
- def fuct(a):
- ans=1
- for i in range(1,a+1):
- ans*=i
- return ans
- print(fuct(dl(a)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement