Waymo interview question

How to sample from within a bounding box using numpy?