Merge e5a619484d into 7a798e481d
This commit is contained in:
commit
fbd439f24f
|
|
@ -26,7 +26,7 @@ print(t1[2]) # 98
|
|||
print(t2[-1]) # 四川成都
|
||||
|
||||
# 切片运算
|
||||
print(t2[:2]) # ('骆昊', 43)
|
||||
print(t2[:2]) # ('骆昊', 45)
|
||||
print(t2[::3]) # ('骆昊', '四川成都')
|
||||
|
||||
# 循环遍历元组中的元素
|
||||
|
|
|
|||
Loading…
Reference in New Issue