input: Write a function to calculate the Euclidean distance between two points in n-dimensional space. If the given points are empty, return 0.0.
  assert euclidean_distance([1, 2, 3], [4, 5, 6]) == 5.196152422706632
  assert euclidean_distance([0, 0, 0], [0, 0, 0]) == 0.0
  assert euclidean_distance([1, 1, 1], [2, 2, 2]) == 1.7320508075688772
  assert euclidean_distance([], []) == 0.0
  assert euclidean_distance([1, 2], [4, 6]) == 5.0
output: def euclidean_distance(point1, point2):
      if not point1 or not point2:
          return 0.0
      return sum((x - y) ** 2 for x, y in zip(point1, point2)) ** 0.5