[1, 2, 2, 3] -> [1, 2, 3] in python code example Example: [1::2] python >>> L = range(10) >>> L[::2] [0, 2, 4, 6, 8]