base one to ten by hide24

?d.times{|i|puts [i+=1,'1'*i][j=i%10]||i.to_s(j)}

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

download

return to the top page