def pretty_solution(solution):
    """
    Purpose: Modify the solution to that it is represented as a mostly legible
        string.
    Input: Solution as a list of boolean values.
    Return: Solution represented as a string
    """
    pretty = ""
    ith_literal = 1
    ten_per_line = 0
    for literal in solution:
        pretty = pretty + "L" + str(ith_literal) + ": " + str(literal) + "  "
        ith_literal = ith_literal + 1
        ten_per_line = ten_per_line + 1
        if ten_per_line > 10:
            ten_per_line = 0
            pretty = pretty + "\n"
    return pretty