n=io.read()for i=1,n do x=''for k=1,math.max(i,n)do x=x..(0==(k-i)*(k-n)and'X'or' ')end print(x)n=n-1 end
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page