Run ID:87557
提交时间:2024-08-10 16:34:16
def factorial(n): if n == 0 or n == 1: return 1 return n * factorial(n-1) n = int(input()) print(factorial(n))