a[::-1] python code example Example: :: in python #[start:end:step] >>> range(10)[::2] [0, 2, 4, 6, 8]