Skip to content

Commit 1f68e57

Browse files
committed
Python 序列
1 parent 0c7e908 commit 1f68e57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

day-007/sequence.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
print("下标从0-24的元素内容是:%s " % tag[0][0:24])
2626

2727
num=[1,2,3,4,5,6,7,8,9,10]
28+
2829
# 表示从第四个到最后一个元素
2930
print("数字从3-10的内容是:%s " % num[3:10])
3031

0 commit comments

Comments
 (0)