Read the following code:
# distance equals the square root of X squared plus Y squared
distance = sqrt((pow (x, 2) + pow y, 2)
There is an error in the code. How should the code be revised in order to get the correct output? (3 points)
distance = sqrt(pow x, 2) + (pow y, 2)
distance = sqrt(pow x, 2 + pow y, 2)
distance = sqrt((pow x, 2) + (pow y, 2))
distance = sqrt(pow(x,2) + pow(y,2))