📜  python代码示例中的列表切片

📅  最后修改于: 2022-03-11 14:46:14.154000             🧑  作者: Mango

代码示例2
ing in python listPython By Cruel Capuchin on Jun 29 2020
a = [1,2,3,4,5]
a[m:n] # elements grrater than equal to m and less than n
a[1:3] = [2,3]