To take two points on the plane and figure out the position of the point that's a) on the line that connects them, and b) equally distant from each of the original points.
(0,0), (3,3) -> (1.5,1.5) (-1,-1), (1,1) -> (0,0) (-7,3), (2,-2) -> (-2.5,0.5) (3, 1), (-5,9) -> (-1,5)
- The input and output can be a tuple, array, list, or any other type of sequence.
- There must be two inputs, each representing a point.
- The output has to support floating point numbers.
Shortest solution in bytes wins.