Coasters by pankdm

s=raw_input()\x0d
n=len(s)+2\x0d
t=('|'+' '*n+'|\n')*-~(n>9)\x0d
print' '+'_'*n+'\n/'+' '*n+'\\\n'+t+'| '+s+' |\n'+t+'\\'+'_'*n+'/'\x0d

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

download

return to the top page