强大的Python大数四则运算

#!/usr/bin/python
import sys
running = True
while running:
        try:
                t = int(raw_input())
                p = int(raw_input())
        except EOFError:
                break
        print 'operator + result \n', t+p
        print 'operator - result \n', t-p
        print 'operator * result \n', t*p
        print 'operator / result \n', t/p

展开阅读全文

没有更多推荐了,返回首页