Python 正则表达式实现计算器功能 需求:用户输入运算表达式,终端显示计算结果代码:#!/usr/bin/env/python3#-*-coding:utf-8-*-""" python实现计算器功能