摘要: 一个有序的元素组成的集合 使用小括号 ( ) 表示 元组是不可变对象 定义 tuple() -> empty tuple tuple(iterable) -> tuple initialized from iterable's items t = (1,) # 一个元素元组的定义,注意有个逗号 元组 阅读全文
posted @ 2018-04-23 22:07 liguanzhen 阅读(200) 评论(0) 推荐(0) 编辑