expand text by nn

l=m=(n=(t=System.in.text)[0].toLong())-2
print(p=(s=t[2..-1]).replaceAll(/(.)/,'$1'*n))
while(m--)print s.replaceAll(/(.)/,'$1'+' '*l+'$1')
print p

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

download

return to the top page