摘要:
一、tuple也是一个class,是不可变的list类型,不可以增删改。创建:tup1 = ('physics', 'chemistry', 1997, 2000);tup2 = (1, 2, 3, 4, 5 );tup3 = "a", "b", "c", "d";访问:(与list... 阅读全文
posted @ 2017-09-12 19:42 蓝空 阅读(415) 评论(0) 推荐(0) 编辑
|
||
摘要:
一、tuple也是一个class,是不可变的list类型,不可以增删改。创建:tup1 = ('physics', 'chemistry', 1997, 2000);tup2 = (1, 2, 3, 4, 5 );tup3 = "a", "b", "c", "d";访问:(与list... 阅读全文
posted @ 2017-09-12 19:42 蓝空 阅读(415) 评论(0) 推荐(0) 编辑 |
||