code: def distance(p0, p1):
      r
      return math.sqrt(dist_2(p0[0], p0[1], p1[0], p1[1]))
docs: r"""Return the distance between two points.
  
      Parameters
      ----------
      p0: (X,Y) ndarray
          Starting coordinate
      p1: (X,Y) ndarray
          Ending coordinate
  
      Returns
      -------
      d: float
          distance
  
      See Also
      --------
      dist_2