🌈 搜索
📅  最后修改于: 2022-03-11 14:45:19.078000             🧑  作者: Mango
a = [1, 2, 3, 4, 5] a[1::2] # returns 2, 4 a[::2] #returns 1, 3, 5