X by sa

s=' 'n=io.read()for i=1,n do\x0dh=n/2+.5 i=i<h and i or n-i+1\x0dio.write(s:rep(i-1),'X',s:rep(n-2*i),i==h and''or'X','\n')end

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

download

return to the top page