切片能让你从序列里提取出一个子序列。
[start:stop:step]
start 是起始索引(默认为 0)
stop 是结束索引(不包含该索引对应的元素)
step 是步长(默认为 1)。
最后更新于8个月前