Question
Write a Python function to compute the distance from a point (xO,yo) to a line that goes through the two points(x1,y1) and (x2,y2). Hint: see the articlehttps://en.wikipedia.org/wiki/Distance_from_a_point_ to_a_line. Use the function to compute the 100 distances from the line that connects (0,0) and(20,200) to the 100
Question image 1Question image 2