顺着切,反着切,想怎么切就怎么切,但是别被坑. mylist = [1,2,3,4,5,6,7,8,9] print(mylist[2:7:2]) # [3, 5, 7] print(mylist[:7:2]) # [1, 3, 5, 7] print(mylist[2::2]) # [3, 5, 7, 9] print(mylist[2:9:2]) # [3, 5, 7, 9] print(mylist[2:10:2]) # [3, 5, 7, 9] print(mylist[::2]) #…