1. 문제
https://www.acmicpc.net/problem/10872
2. 풀이
def fact(n):
if n == 0:
return 1
return n * fact(n-1)
print(fact(int(input())))
https://www.acmicpc.net/problem/10872
def fact(n):
if n == 0:
return 1
return n * fact(n-1)
print(fact(int(input())))