def row_formater(el, pot, latt_ct, n, len_cols):
    """Arrange arguments to print nicely in the table

    Parameters
    ----------
    col_el : str
        String for the 'Electrolyte' column
    col_X : str
        String for the 'X' column
    len_cols : list
        List with widths for each column

    Returns
    -------
    row : str
        String representing the row

    """
    l = len_cols
    return "{0:{4}}{1:{5}}{2:{6}}{3:{7}}\n".format(el, pot, latt_ct, n, l[0],
                                                   l[1], l[2], l[3])