input: Write a function to calculate the Euclidean distance between two points on a two-dimensional plane. The function should take four parameters: x1, y1, x2, and y2, representing the coordinates of the two points, and return the distance 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, 1, 1)==0.0
  assert calculate_distance(-7, -4, 17, 6)==23.323807579381203
  assert calculate_distance(6, 0, 0, 8)==10.0
output: def calculate_distance(x1, y1, x2, y2):
      return ((x2 - x1) ** 2 + (y2 - y1) ** 2) ** 0.5