input: Write a function to calculate the Euclidean distance between two points in a given n-dimensional space. The function should take two points as input, where each point is represented by a list of coordinates. The function should return the Euclidean distance as a float.
  
  assert euclidean_distance([1, 2, 3], [4, 5, 6]) == 5.196152422706632
  assert euclidean_distance([0, 0], [3, 4]) == 5.0
  assert euclidean_distance([1, 1, 1], [1, 1, 1]) == 0.0
  assert euclidean_distance([1, 2], [-1, -2]) == 4.47213595499958
  assert euclidean_distance([], []) == 0.0
output: def euclidean_distance(point1, point2):
      return sum((x - y) ** 2 for x, y in zip(point1, point2)) ** 0.5