def print_colored_columns(printer, rows, padding=<NUM_LIT:2>):
rows_ = [x[:-<NUM_LIT:1>] for x in rows]<EOL>colors = [x[-<NUM_LIT:1>] for x in rows]<EOL>for col, line in zip(colors, columnise(rows_, padding=padding)):<EOL><INDENT>printer(line, col)<EOL><DEDENT>
Like `columnise`, but with colored rows.

    Args:
        printer (`colorize.Printer`): Printer object.

    Note:
        The last entry in each row is the row color, or None for no coloring.