2022年4月3日
摘要: 1、在交互式环境下输入表达式 4 >>> 2 + 3 *6 20 >>> (2 + 3) * 6 30 >>> 48565878 * 578453 28093077826734 >>> 2 ** 8 256 >>> 23 / 7 3.2857142857142856 >>> 23 // 7 3 >> 阅读全文
posted @ 2022-04-03 18:07 HelonTian 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 1、从文件中读取数据 读取整个文件 1 >>> import this 2 The Zen of Python, by Tim Peters 3 4 Beautiful is better than ugly. 5 Explicit is better than implicit. 6 Simple 阅读全文
posted @ 2022-04-03 18:02 HelonTian 阅读(47) 评论(0) 推荐(0) 编辑