摘要: # 具名元组>>> from collections import namedtuple >>> City = namedtuple('City', 'name country population coordinates') ➊ >>> tokyo = City('Tokyo', 'JP', 36 阅读全文
posted @ 2021-06-07 14:07 小毛编 阅读(22) 评论(0) 推荐(0) 编辑