import math


def getLatFromStrPoint(strPoint):
	strPoint = strPoint.split("(")[1]
	return float(strPoint.split(",")[0])

def getLonFromStrPoint(strPoint):
	strPoint = strPoint.split("(")[1]
	strPoint = strPoint.split(",")[1]
	return float(strPoint.split(")")[0])

def getDistanceBetween(x1, y1, x2, y2):

	# Convert latitude and longitude to 
    # spherical coordinates in radians.
    degrees_to_radians = math.pi/180.0
	radOfEarth = 6371000
        
    # phi = 90 - latitude
    phi1 = (90.0 - lat1)*degrees_to_radians
    phi2 = (90.0 - lat2)*degrees_to_radians
        
    # theta = longitude
    theta1 = long1*degrees_to_radians
    theta2 = long2*degrees_to_radians
        
    # Compute spherical distance from spherical coordinates.
        
    # For two locations in spherical coordinates 
    # (1, theta, phi) and (1, theta, phi)
    # cosine( arc length ) = 
    #    sin phi sin phi' cos(theta-theta') + cos phi cos phi'
    # distance = rho * arc length
    
    cos = (math.sin(phi1)*math.sin(phi2)*math.cos(theta1 - theta2) + 
           math.cos(phi1)*math.cos(phi2))
    arc = math.acos( cos )

    # Remember to multiply arc by the radius of the earth 
    # in your favorite set of units to get length.
    return arc*radOfEarth
@@ -33,33 +33,36 @@
 oint(strPoint):%0A
-%09
+    
 strPoint = strPo
@@ -75,25 +75,28 @@
 lit(%22(%22)%5B1%5D%0A
-%09
+    
 return float
@@ -155,17 +155,20 @@
 Point):%0A
-%09
+    
 strPoint
@@ -193,17 +193,20 @@
 %22(%22)%5B1%5D%0A
-%09
+    
 strPoint
@@ -231,17 +231,20 @@
 %22,%22)%5B1%5D%0A
-%09
+    
 return f
@@ -314,17 +314,20 @@
 , y2):%0A%0A
-%09
+    
 # Conver
@@ -438,9 +438,12 @@
 0.0%0A
-%09
+    
 radO

I am stupid