char pyramid by nn

l=readline(s='')
for(n=l[-1];n;print(S+s+S))S=Array(n--).join(' '),s=l[n]+(s&&' ')+s

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

download

return to the top page