Sofya_Soloveva_

Untitled

Jul 23rd, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. def Fact(N):
  2.     if N == 0:
  3.         return 1
  4.     else:
  5.         return N*Fact(N-1)
  6. print(Fact(int(input())))
Advertisement
Add Comment
Please, Sign In to add comment