Mental calculation by pooq

a,b:0,0;stdin.get_s(20).split(" "){a=b;b=it.to_i;};100.times{a,b=b,(a+b)%10;print(b," ");};

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

download

return to the top page