input: Write a function to calculate the Euclidean distance between two points in Python. The function should take two lists as input representing the coordinates of the points, and return the distance as a float.
  assert euclidean_distance([1, 2], [4, 6])==5.0
  assert euclidean_distance([0, 0], [3, 4])==5.0
  assert euclidean_distance([1, 1], [1, 1])==0.0
  assert euclidean_distance([-1, -1], [1, 1])==2.8284271247461903
  assert euclidean_distance([0, 0, 0], [1, 1, 1])==1.7320508075688772
output: def euclidean_distance(point1, point2):
      return sum((x - y) ** 2 for x, y in zip(point1, point2)) ** 0.5