11 2023 档案
摘要:条件,代码优雅 条件 if: elif: else: match.....case match 后的对象会依次与 case 后的内容进行匹配,如果匹配成功,则执行匹配到的表达式,否则直接跳过,_ 可以 匹配一切 match subject: case <pattern_1>: <action 1>
阅读全文
摘要:数据类型 1.整数Integer(int) 2.浮点数Float(默认双精度) 3.布尔值Boolean(bool) 4.类型Type print(type(2)) <class'int'> `print(type(2<2.2)) <class'bool'> print(type(type(2)))
阅读全文
摘要:Task1:安装,启航 安装 安装清单 所有安装均仅需默认配置即可 Miniconda Visual Studio Code Git 在安装时一直在steam++开启的情况下操作 新版本steam++的使用 1.下载watt toolkit最新版本 1.先在设置里面安装证书:如果出现安装证书成功就可
阅读全文