import math


def y_values_between_points(average, left_pt, right_pt):
    """Return the list of values between left_pt and right_pt."""
    start = int(math.floor(left_pt.x))
    end = int(math.ceil(right_pt.x)) + 1
    return [average[i] for i in range(start, end)]