摘要: 一. collections模块 1.namedtuple(用来表示坐标) from collections import namedtuple point=namedtuple('point',['x','y']) p=point(1,2) print(p.x) print(p.y) circle 阅读全文
posted @ 2019-05-15 20:21 寒~轩 阅读(135) 评论(0) 推荐(0) 编辑