摘要: import re def atom_cal(exp): if '*' in exp: a,b = exp.split('*') return str(float(a) * float(b)) elif '/' in exp: a, b = exp.split('/') return str(flo 阅读全文
posted @ 2021-05-24 11:58 苦行僧冬*婷 阅读(29) 评论(0) 推荐(0)