Yeah, shouldn't it be math.sqrt(dist)?
Although you might want to just return the distance^2 so the user can decide whether a sqrt is necessary or not.
Yeah, shouldn't it be math.sqrt(dist)?
Although you might want to just return the distance^2 so the user can decide whether a sqrt is necessary or not.