Borderizing Texts by twobit

l=raw_input().split()
i=4
a="_  _|||__  _"
while i:i-=1;print"||| _  _"[i::4]+a[i::4].join((["_|",w,"| ","_"][i]*33)[:len(w)]for w in l)+a[i:7:4]

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

download

return to the top page