Run ID:70687

提交时间:2024-04-16 20:51:15

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