box world by 51b

import std.stdio;void main(){int l;auto s=readln[0..l=$-1];l--;write(s);foreach(i,c;s)printf("%c
%c%*s",c,s[l-i],l,l-i?&*" ":&*s.dup.reverse);}

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

download

return to the top page