def get_list_of_list(list_of_thresholds):
    """
    This function take the list of the argument thresholds, extract the value and create a list of list
    """
    extract_thresholds = [float(list_of_thresholds[i]) for i in range(0,len(list_of_thresholds))]
    n = 2        
    def chunks(l, n):
    # For item i in a range that is a length of l,
        for ii in range(0, len(l), n):
        # Create an index range for l of n items:
            yield l[ii:ii+n]
    
    thresholds = list(chunks(extract_thresholds,n))
    
    return thresholds