백준 10872번
N = int(input())
def recursive(num):
if num == 1:
return 1
return num*recursive(num-1)
print(0 if N == 0 else recursive(N))
왜 틀렷징…….
N = int(input())
def recursive(num):
if num < 2:
return 1
return num*recursive(num-1)
print(recursive(N))
문제 끝까지 잘 읽자~~~~