Answer
randrange(10, 20)
Work Step by Step
Python also provides another function, randrange(a, b), for generating a random integer between a and b – 1, which is equivalent to randint(a, b – 1).
For example, randrange(10, 20) and randint(10, 20) are the same.
Since randint is more intuitive, the book generally uses randint in the examples.