langatator/examples/fibo.ltor

9 lines
119 B
Text

set a to 1
set b to 1
set i to 0
while i < 10 do
set c to a
set a to a+b
set b to c
print_number a
end