Question: Write a python function that on input takes a list L of three points L = [(x1, y1),(x2, y2),(x3, y3)] and determines whether the point
Write a python function that on input takes a list L of three points L = [(x1, y1),(x2, y2),(x3, y3)] and determines whether the point (x3, y3) lies above, on, or below the straight line passing through points (x1, y1),(x2, y2). Print if above, below, or on q1([(0,7),(1,10),(5,22)]) q1([(15,3),(4,8),(20,20)]) q1([(20,31),(30,28),(27,27)])
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
