how to find distance between two longitude and latitude points in python code example Example: python distance of coordinates dist = math.sqrt((x2 - x1)**2 + (y2 - y1)**2)