Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started