Log in or register to post comments A mechanism to select a range of items from sequence types like list, tuple, strings etc. is known as slicing. Example: a = ("a", "b", "c", "d", "e", "f", "g", "h") x = slice(2) print(a[x]) Output: ('a', 'b') Tags Python Data Structure Interview Questions Python Interview Questions