import math


def distance_bw_points(alpha, beta):
    """Takes two points, alpha and beta, and returns a float according to their
    Euclidean distance.

    alpha, beta: Point objects
    """
    x1, y1 = alpha.x, alpha.y
    x2, y2 = beta.x, beta.y
    distance = math.sqrt((x2-x1) ** 2 + (y2-y1)**2)
    return distance