Soroban Fixed by hallvabo

s=raw_input()
a=len(s)*3
f=lambda x:''.join('< -|> '[eval(e+x)::2]for e in s)
for i in range(10):print(['='*a,f('/5'),f('/5^1'),(('='*11).join('*'*a)+'=')[-a:]]+[f('%5==i-4')]*5)[i%9]

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

download

return to the top page