input: Write a function to calculate the Euclidean distance between two points in a given number of dimensions. If the points are of different dimensions, return None.
  def euclidean_distance(point1, point2): 
      if len(point1) != len(point2):
          return None
      sum_squared_distance = 0
      for i in range(len(point1)): 
          sum_squared_distance += (point1[i] - point2[i])**2 
      return sum_squared_distance**0.5
  assert euclidean_distance([1, 2, 3], [4, 5, 6]) == 5.196152422706632
  assert euclidean_distance([0, 0], [3, 4]) == 5.0
  assert euclidean_distance([1, 2], [1, 2]) == 0.0
  assert euclidean_distance([], []) == 0.0
  assert euclidean_distance([1, 2, 3], [1, 2]) == None
output: def euclidean_distance(point1, point2): 
      if len(point1) != len(point2):
          return None
      sum_squared_distance = 0
      for i in range(len(point1)): 
          sum_squared_distance += (point1[i] - point2[i])**2 
      return sum_squared_distance**0.5