根据三个点的坐标预测横坐标10对应的函数值 from scipy.interpolate import lagrange x = [3, 6, 9] y = [10, 8, 4] print(lagrange(x,y)(10))