calculation of decimal by tobiesque

from decimal import *
D=Decimal
getcontext().prec=99
while 1:
\x09a,o,b=raw_input().split()
\x09d=D(a)+D(b)
\x09print(d,a[:11]+b[11:])[d<D("3E-6")]

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

download

return top