Question: need help to determine where did i go wrong with this python 3.xx import arcpy Import math x1 =-89.98426 y1 = 38.51224 x2 = -89.94095

need help to determine where did i go wrong with this python 3.xx import arcpy Import math x1 =-89.98426 y1 = 38.51224 x2 = -89.94095 y2 = 38.58839 Def Eucliddistance(x1,y1,x2,y2): distance = math.sqrt((x1-x2)**2 + (y1-y2)**2) Return(distance) #convert from meters to miles tobeconversted = Eucliddistance(x1,x2,y1,y2) print(Eucliddistance(x1,y1,x2,y2))

syntax eerrr

File "C:/Users/bcolli24/PycharmProjects/myFirstProject/basicScrpt.py", line 10 Def Eucliddistance(x1,y1,x2,y2): ^ SyntaxError: invalid syntax

Process finished with exit code 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!