X by tabasa

x="X";b=[];w=' ';(t=gets.to_i/2).times{|i|b<<w*i+x+w*((t-i)*2-1)+x};puts b,w*t+x,b.reverse

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

download

return to the top page