def p1_f_quadratic(x):

    """DocTest module Expected Output Test - don't change or delete these lines
        
    >>> x = [565, 872, 711, 964, 340, 761, 2, 233, 562, 854]
    >>> print("The minimum is: ", p1_f_quadratic(x))
    The minimum is:  2
    """

    # Given in the problem
    min = x[0]
    l = len(x)
    for i in range(l):
        for j in range(i+1,l):
            if x[i]<x[j] and x[i]<min:
                min = x[i]
    return min