CALC fixed by kt3k

while 1:
 a=r=''
 for e in raw_input():
  if'.'>e:r='(%s)'%r;e=' %s '%e
  r+=e;a+=e
 print a,'=',eval(r)

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

download

return top