python——列表操作(切片)

版权声明:double12754 https://blog.csdn.net/double12754/article/details/88424979

在这里插入图片描述
在这里插入图片描述
冒号左边空,就要从偏移量为0的元素开始取;右边空,就要取到列表的最后一个元素
冒号左边数字对应的元素要拿,右边的不动

猜你喜欢

转载自blog.csdn.net/double12754/article/details/88424979