def p1_f_linear(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_linear(x))
    The minimum is:  2
    """
    # ******ENTER YOUR FINAL CHECKED CODE AFTER THIS COMMENT BLOCK*******************
    
    # Setting the first element as the tentative minimum
    minimum = x[0]
    
    # For each item in the list, compare to the tentative minimum and set item to minimum if lower
    
    for item in x:
        if item < minimum:
            minimum = item
    return minimum