input: Write a function to calculate the distance between two points on a two-dimensional plane. The function should take four parameters: the x-coordinate of the first point, the y-coordinate of the first point, the x-coordinate of the second point, and the y-coordinate of the second point. It should return the distance between these two points as a float.
  assert calculate_distance(3, 4, -9, -2)==13.416407864998739
  assert calculate_distance(0, 0, 0, 0)==0.0
  assert calculate_distance(1, 1, 2, 2)==1.4142135623730951
  assert calculate_distance(-5, 7, 11, 2)==17.08800749063506
  assert calculate_distance(3, 4, 5, 7)==3.605551275463989
output: def calculate_distance(x1, y1, x2, y2):
      return ((x2 - x1) ** 2 + (y2 - y1) ** 2) ** 0.5