On second prompt, it asks you to create a function to calculate the difference between a point and the linear function. Can someone explain the syntax/logic for the point input from the function and how within the function point is then designated as x_point, y_point?
def calculate_error(m, b, point):
x_point, y_point = point
y = m*x_point + b
distance = abs(y - y_point)