最后活跃于 1687456628

修订 2e7b0165fbb14e1a982f0be854e6216f9669475f

calculator.py 原始文件
1while True:
2 try:
3 opr = input("calculator> ")
4 exec(f'ans = {opr}')
5 print(ans)
6 except KeyboardInterrupt:
7 print()
8 quit()
9