string slicing in python 3 arguments code example Example: string slicing in python 3 arguments #[start:end:step] >>> range(10)[::2] [0, 2, 4, 6, 8]