Mental calculation by yamaya

a,b,s=io.read(2,2,10)for i=-1,99+#s/2 do
a,b=b,(a+b)%10,i<#s/2 or io.write(b,' ')end

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page