Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Day01-20/10.常用数据结构之元组.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ print(t1[2]) # 98
print(t2[-1]) # 四川成都

# 切片运算
print(t2[:2]) # ('骆昊', 43)
print(t2[:2]) # ('骆昊', 45)
print(t2[::3]) # ('骆昊', '四川成都')

# 循环遍历元组中的元素
Expand Down