input: Write a function to calculate the distance between two points on a two-dimensional plane. Use the Euclidean distance formula: distance = sqrt((x2 - x1)^2 + (y2 - y1)^2). The function should take two tuples as input, where each tuple contains the x and y coordinates of a point. The function should return the distance as a float.
  assert distance_between_points((3, 4), (-9, -2)) == 13.0
  assert distance_between_points((0, 0), (1, 1)) == 1.4142135623730951
  assert distance_between_points((1, 5), (1, 5)) == 0.0
  assert distance_between_points((-3, -4), (-10, -10)) == 9.219544457292887
  assert distance_between_points((0, 0), (0, 0)) == 0.0
output: def distance_between_points(point1, point2):
      x1, y1 = point1
      x2, y2 = point2
      return ((x2 - x1) ** 2 + (y2 - y1) ** 2) ** 0.5