list[[start]:[end][:step]]
包头不包尾
start和end超过范围不会报错
本文标题:31.列表切片
本文链接:https://www.haomeiwen.com/subject/euaxyqtx.html
网友评论