Exercise for reference:

letters = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"]

Answer:

letters = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"]
print(letters[3:6])

Explanation:

d has an index of 3 here, e has an index of4,and f has an index of5, but since theslicing syntax is upper-bound exclusive, we need to pass6 as the upper bound.