input: Write a function to calculate the Euclidean distance between two points in a given dimensional space. The function should take two lists of numbers as inputs, where each list represents a point in the space. The function should return the Euclidean distance between these two points. The Euclidean distance is calculated by taking the square root of the sum of the squared differences between the corresponding coordinates of the two points.
  assert euclidean_distance([0, 0], [3, 4]) == 5.0
  assert euclidean_distance([1, 2, 2], [3, 4, 5]) == 3.7416573867739413
  assert euclidean_distance([], []) == 0.0
  assert euclidean_distance([1], [2]) == 1.0
  assert euclidean_distance([-1, -2], [-3, -4]) == 2.8284271247461903
output: def euclidean_distance(point1, point2):
      return sum((x - y) ** 2 for x, y in zip(point1, point2)) ** 0.5