摘要: // cmath standard head... 阅读全文
posted @ 2020-02-02 19:04 Aeterna_Gungnir 阅读(299) 评论(0) 推荐(0) 编辑
摘要: micro:bit小主板一般初学Python... 阅读全文
posted @ 2020-02-02 14:14 Aeterna_Gungnir 阅读(472) 评论(0) 推荐(0) 编辑
摘要: Python中的字符串类型Unicode字符 'Hello World' "Hello World" '\u0048\u0065\u006c\u006c\u006f\u0020\u0057\u006f\u0072\u006c\uoo64' "\u0048\u0065\u006c\u006c\u006 阅读全文
posted @ 2020-02-02 12:37 Aeterna_Gungnir 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 方法、步骤1.浏览器搜索eclipse进入官... 阅读全文
posted @ 2020-02-02 11:45 Aeterna_Gungnir 阅读(203) 评论(0) 推荐(0) 编辑
摘要: #include#includeusing ... 阅读全文
posted @ 2020-02-02 11:05 Aeterna_Gungnir 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 亲朋字符串通过率28.01%时间1000ms... 阅读全文
posted @ 2020-02-02 11:03 Aeterna_Gungnir 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 方法/步骤 安装了vs code的的用户以后,还需要一个GCC编译器的环境来支持c、c++的运行,本文介绍一下下载及安装MinGW的操作过程。 1.打开浏览器,进入网站http://www.mingw.org,点击页面左侧的Downloads链接。 2.点击“Download mingw-get.s 阅读全文
posted @ 2020-02-01 23:22 Aeterna_Gungnir 阅读(1656) 评论(0) 推荐(0) 编辑
摘要: 数字类型的转换 隐式类型转换 ​ 多个数字类型之间可以进行数学计算,由于参与运算的数字类型可能不同,此时会发生隐式类型转换,如表 操作数1类型 操作数2类型 转换后的类型 布尔 整数 整数 布尔、整数 浮点 浮点 Python Shell实例: >>>a = 1 + True >>>print(a) 阅读全文
posted @ 2020-02-01 15:30 Aeterna_Gungnir 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 赋值运算符 ​ 赋值运算符还是无需多说,只看下面Python赋值运算符内容表 运算符 名称 例子 说明 = 直接赋值 a = b 把b的值直接给a += 加赋值 a += b 等价于a = a + b -= 减赋值 a -= b 等价于a = a - b *= 乘赋值 a *= b 等价于a = a 阅读全文
posted @ 2020-01-31 15:46 Aeterna_Gungnir 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 关系、逻辑运算符 ​ 扩展:‘+’号还可以把两个字符串连接起来,‘*’号可以倍增!Python Shell实例 >>> 'hello' + 'world' 'helloworld' >>>'hello' * 2 'hellohello' 关系运算符 ​ 关系运算符无需多说,Python中有6种,和c 阅读全文
posted @ 2020-01-30 22:48 Aeterna_Gungnir 阅读(159) 评论(0) 推荐(0) 编辑