1
2
3
4
5
6
7
8
>>> t=[1,2,3,4,5,6,7,8,9,0]
>>> t[::3]
[1, 4, 7, 0]
>>> t[1::3]
[2, 5, 8]
>>> t[2::3]
[3, 6, 9]
>>>