会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
liguanzhen
首页
新随笔
联系
订阅
管理
2018年4月23日
Python数据结构之元组
摘要: 一个有序的元素组成的集合 使用小括号 ( ) 表示 元组是不可变对象 定义 tuple() -> empty tuple tuple(iterable) -> tuple initialized from iterable's items t = (1,) # 一个元素元组的定义,注意有个逗号 元组
阅读全文
posted @ 2018-04-23 22:07 liguanzhen
阅读(200)
评论(0)
推荐(0)
编辑
公告