a=[[0]] 9.times{a=[[$.+=1]*s=a.size]*s+a.transpose.reverse} a.map{|b|puts b*''}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page