What it's wrong with this code?
from math import*
def euclidean_distance(x,y):
return sqrt(sum(pow(a-b,2) for a, b in zip(x, y)))
print euclidean_distance([0,3,4,5],[7,6,3,-1])
This is a Python code that I'm running under Windows.
I don't see anything wrong, but, despite of that, the Python interpreter produce a syntax error in the print statement.