4 lines
60 B
Text
4 lines
60 B
Text
def fact(n):
|
|
if n <= 1 then n
|
|
else n * fact(n-1)
|
|
end;
|
def fact(n):
|
|
if n <= 1 then n
|
|
else n * fact(n-1)
|
|
end;
|