terminal colours by hallvabo

while 1:_=raw_input();print'  '.join("\x1b[4%dm"%(3635913%ord(c)%11)*(c!=p)for p,c in zip(' '+_,_+' '))

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

download

return top