<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fit_to_cols(what, indent='', cols=79):
 """Wrap the given text to the columns, prepending the indent to each line. Args: what(str):
 text to wrap. indent(str):
 indentation to use. cols(int):
 colt to wrap to. Returns: str: Wrapped text """

    lines = []
    while what:
        what, next_line = split_line(
            what=what,
            cols=cols,
            indent=indent,
        )
        lines.append(next_line)

    return '\n'.join(lines)