Broken Line by twobit

d=x=0
y=8
f={}
for c in raw_input():f[y]=f.get(y,"").ljust(x)+c;d+="!">c;x+=~d%2;y+=d%2-d%4/3*2
for l in f:print f[l]

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

download

return top