list2 = [1, 2, 3, 4, 5, 6, 7 ]; print ("list2[1:5]: ", list2[1:5])
得到
list2[1:5]: [2, 3, 4, 5]
结果是a[1]到a[4]