def METHOD_NAME(A,B, n_points):
        pts=[]
        for i in range(n_points):
            x=A[0]+(B[0]-A[0])/(n_points-1)*i
            y=A[1]+(B[1]-A[1])/(n_points-1)*i
            pts.append((x, y))
        return pts