摘要: 一、环境 git:https://git-scm.com/ 申请github账号:https://github.com/ 二、安装git 一直next即可 三、创储存建库 1、选择New repository 2、输入Repository name->Description->Create repo 阅读全文
posted @ 2019-06-10 21:44 市丸银 阅读(357) 评论(0) 推荐(0) 编辑
摘要: import re """ 过程:(最内部的括号->先乘除,替换->整理表达式->加减)->替换 """ def multiply_divide(exp): # 计算乘除 if '/' in exp: a, b = exp.split('/') return str(float(a)/float(b)) if '*' in exp:... 阅读全文
posted @ 2019-06-10 17:44 市丸银 阅读(411) 评论(0) 推荐(0) 编辑