会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Mr-谢
博客园
首页
新随笔
联系
订阅
管理
2019年9月16日
python开发基础----re模块作业之计算器
摘要: 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)
编辑
公告