end_long = math.radians(end_long)
d_lat = math.fabs(start_lat - end_lat)
d_long = math.fabs(start_long - end_long)
EARTH_R = 6372.8
y = math.sin(start_lat) * math.sin(end_lat) + math.cos(start_lat) * math.cos(
    end_lat) * math.cos(d_long)
x = math.sqrt((math.cos(end_lat) * math.sin(d_long)) ** 2 + (math.cos(
    start_lat) * math.sin(end_lat) - math.sin(start_lat) * math.cos(end_lat
    ) * math.cos(d_long)) ** 2)
c = math.atan(x / y)
return EARTH_R * c
f = geocalc(36.12, -86.67, 33.94, -118.4)
print(f)
Need help calculating geographical distance