calculation of decimal by primo

while 1:a,b,s,c,d=raw_input().replace('.',' ').split();l=99;e=int((b+'0'*l)[:l])+int((d+'0'*l)[:l]);print('%d.%099d'%(eval(a+s+c)+e/10**l,e%10**l)).rstrip('0')

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

download

return top