Run ID:71324

提交时间:2024-04-22 20:19:15

def factorial(n): if n == 0: return 1 else: return n * factorial(n - 1) n = int(input()) print(factorial(n))