1、
aTuple = (123, ‘abc’,4.56,[‘inner’,’tuple’])
bTuple = (None, ‘something to see here’)
2、
t=([‘xyz’,123], 23, -103.4)
t=t*2
t= t+(‘free’,’easy’)
3、成员关系操作、切片操作
in
[]
[:]
4、单元素元组
(‘xyz’)
(‘xyz’,)
1、
aTuple = (123, ‘abc’,4.56,[‘inner’,’tuple’])
bTuple = (None, ‘something to see here’)
2、
t=([‘xyz’,123], 23, -103.4)
t=t*2
t= t+(‘free’,’easy’)
3、成员关系操作、切片操作
in
[]
[:]
4、单元素元组
(‘xyz’)
(‘xyz’,)
© 著作权归作者所有