Agoda Interview Question

Python Question about finding intersection of two set.