摘要: import re formul='1 - 2 *( (6 0- 30+(0-40/5) * (9-2* 5/3 +7 /3*99/4*2998 +10 *568/14)) - (-4*3) / (16-3*2))' def zhengli(func): func = func.replace("+-","-").replace("--","+") return func de... 阅读全文
posted @ 2018-12-28 18:56 会飞的两棵树 阅读(2262) 评论(0) 推荐(0) 编辑