5 lines
81 B
Text
5 lines
81 B
Text
|
|
fun fact(n: int): int =
|
||
|
|
loop (out = 1) = for i < n do
|
||
|
|
out * (i+1)
|
||
|
|
in out
|