homework_04/14_martin_damyanov/homework.py
def distance(a_point, b_point):
    """Returns the distance between two given points"""
    assert isinstance(a_point, Point)
    assert isinstance(b_point, Point)
    return math.sqrt(pow(b_point.x_coord - a_point.x_coord, 2) \
     + pow(b_point.y_coord - a_point.y_coord, 2))
Returns the distance between two given points
Returns the distance between two given points
Returns the distance between two given points
def distance(a_point, b_point):
    assert isinstance(a_point, Point)
    assert isinstance(b_point, Point)
    return math.sqrt(pow(b_point.x_coord - a_point.x_coord, 2) \
     + pow(b_point.y_coord - a_point.y_coord, 2))
def distance ( a_point , b_point ) : assert isinstance ( a_point , Point ) assert isinstance ( b_point , Point ) return math . sqrt ( pow ( b_point . x_coord - a_point . x_coord , 2 ) + pow ( b_point . y_coord - a_point . y_coord , 2 ) )
Returns the distance between two given points
Returns the distance between two given points
"""Returns the distance between two given points"""
a_point
b_point