def create_list(value, sublist_nb, sublist_size):
    """
    Create a list of len sublist_size, filled with sublist_nb sublists. Each sublist is filled with the value value
    """
    out = []
    tmp = []
    for i in range(sublist_nb):
        for j in range(sublist_size):
            tmp.append(value)
        out.append(tmp)
        tmp = []
    return out