View difference between Paste ID: 6fZuxnm1 and pn90CfMN
SHOW: | | - or go back to the newest paste.
1
function fibonacci(n)
2
    if n<3 then
3
        return 1
4
    else
5
        return fibonacci(n-1) + fibonacci(n-2)
6
    end
7
    sleep(2)
8
end
9
    for n = 1, 32 do
10
    io.write(fibonacci(n), ", ")
11
end
12
io.write("...\n")