摘要: def mul_div(exp): #计算乘除 while True: ret = re.search('[\d\.]+[\*\/]-?[\d\.]+', exp) if ret: atom_exp = ret.group() res = atom_cal(atom_exp) exp = exp.r 阅读全文
posted @ 2018-08-25 17:19 傻白甜++ 阅读(354) 评论(0) 推荐(0) 编辑
TOP