摘要: 1. collections模块(扩展数据类型) 1. nametuple:可命名元组,生成可以使用名字来访问元素内容的tuple。(用来表示坐标,求圆的面积) from collections import namedtuple P = namedtuple("point",["x","y","z 阅读全文
posted @ 2019-11-24 11:12 chitalu 阅读(153) 评论(0) 推荐(0) 编辑