def generate_user_input_table(ui):
    """Generate user input table in a format that allows for copy-paste from
    LaTeX pdf to python editor"""
    calculation_input = []
    for key, value in ui.items():
        if key != 'parameter_id':
            calculation_input.append(key)
    calculation_input = sorted(calculation_input)
    table_user_input = []
    for i in calculation_input:
        if isinstance(ui[i], str):
            table_user_input.append((i, "'" + str(ui[i]) + "'"))
        else:
            table_user_input.append((i, str(ui[i])))
    return table_user_input
