4 lines
No EOL
79 B
Text
4 lines
No EOL
79 B
Text
factorial(0) -> 1.
|
|
factorial(n) -> n * factorial(n - 1).
|
|
|
|
print(factorial(10)). |