<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dist_2(x0, y0, x1, y1):
 r"""Return the squared distance between two points. This is faster than calculating distance but should only be used with comparable ratios. Parameters x0: float Starting x coordinate y0: float Starting y coordinate x1: float Ending x coordinate y1: float Ending y coordinate Returns ------- d2: float squared distance See Also -------- distance """

    d0 = x1 - x0
    d1 = y1 - y0
    return d0 * d0 + d1 * d1