5 lines
84 B
Text
5 lines
84 B
Text
|
|
fun main(n: int): int =
|
||
|
|
loop((a,b) = (0,1)) = for _i < n do
|
||
|
|
(b, a + b)
|
||
|
|
in a
|