def default_knots(count, degree=3):
    """Find each knot value that can be used to generate a curve.

    Examples:
        >>> default_knots(5, 3)
        [0.0, 0.0, 0.0, 0.0, 1.0, 2.0, 2.0, 2.0, 2.0]

    Arguments:
        count (int): The number of control points in the curve.
        degree (int): The degree of the curve.

    Returns:
        list: An array that contains each knot value to generate the curve.
    """
    knots = [0 for _ in range(degree)] + list(range(count - degree + 1))
    knots += [count - degree for _ in range(degree)]
    return [float(knot) for knot in knots]