How to write a function which calculate the midpoint between 2 points in python?
<pre><code>def midpoint(p1, p2):
"""
PRE: p1 and p2 are Point objects (from the graphics module)
POST: a new Point equidistant from and co-linear with p1 and p2
is computed and returned
</code></pre>

<p>Write a function midpoint with the following specification</p>

<p>Thanks</p>
