摘要: import redef 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(float 阅读全文
posted @ 2018-08-22 21:30 玩蛇少年7372 阅读(117) 评论(0) 推荐(0) 编辑