Suppose I have a list of x, y coordinates as below:
A = [(26, 63), (23, 63), (22, 63), (21, 63), (20, 63), (22, 62), (27, 63)]
and I have a x, y coordinate of a point as below:
leftbottom = (0, 238)
Now, I want to find the closest point to the leftbottom point among the list A.
How can I do that most efficiently?