Squares Round 3 by twobit(recursive)

S=p=" "*99
exec'try:r=raw_input()+S\nexcept:r=S\nprint"".join(" |_"[a!=b or-(a!=c==d)]+" _"[b!=d]for a,b,c,d in zip(" "+p,p," "+r,r)).rstrip();p=r\n'*99

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

download

return to the top page