摘要: ```python"""collections模块"""from collections import namedtuple, deque, OrderedDict, defaultdict, Counter"""namedtuple:可以使用名字来访问元素内容的tuple"""# 1,坐标Point = namedtuple('point', ['x', 'y'])p = Point(1, 2)... 阅读全文
posted @ 2020-03-01 16:28 孙昌恒 阅读(169) 评论(0) 推荐(0) 编辑