<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def between(self, objs1: List[float], objs2: List[float], n=1):
 """ Generate `n` solutions which attempt to trade-off `objs1` and `objs2`. Parameters objs1 First boundary point for desired objective function values objs2 Second boundary point for desired objective function values n Number of solutions to generate """

        from desdeo.preference.base import ReferencePoint

        objs1_arr = np.array(objs1)
        objs2_arr = np.array(objs2)
        segments = n + 1
        diff = objs2_arr - objs1_arr
        solutions = []
        for x in range(1, segments):
            btwn_obj = objs1_arr + float(x) / segments * diff
            solutions.append(
                self._get_ach().result(ReferencePoint(self, btwn_obj), None)
            )
        return ResultSet(solutions)