Geben Sie die Faktorien von 6 in Python
def factorial(x):
if x == 0:
return 1
return x * factorial(x - 1)
result = factorial(6)
print(result)
Careful Curlew
def factorial(x):
if x == 0:
return 1
return x * factorial(x - 1)
result = factorial(6)
print(result)