摘要: import re def reckon(formula): ''' 计算函数 :param formula: 用户传入的公式字符串 :return: ''' re_formula = re.findall('\([^()]+\)',formula) if re_formula: result = 阅读全文
posted @ 2019-09-16 11:23 Mr-谢 阅读(233) 评论(0) 推荐(0) 编辑