input: Write a function to calculate the distance between two points on a two-dimensional plane. The function should take in four parameters (x1, y1, x2, y2) representing the coordinates of the two points and return the distance as a float. Use the Euclidean distance formula.
  assert calculate_distance(3, 4, -9, -2) == 12.64911064067351
  assert calculate_distance(-3, -4, 9, 2) == 16.0
  assert calculate_distance(0, 0, 0, 0) == 0.0
  assert calculate_distance(1, 1, 3, 3) == 2.8284271247461903
  assert calculate_distance(0, 0, 10, 10) == 14.142135623730951
output: def calculate_distance(x1, y1, x2, y2):
      return ((x2 - x1) ** 2 + (y2 - y1) ** 2) ** 0.5