Box Coloring by recursive

b=1
o=" "*50
while 1:
 for c in raw_input():e=c>" "and(o[::49]+`b`).strip()[0]or c;b+=`b`==e;o=o[1:]+e
 print o

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

download

return to the top page