<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def indent (text, indent_string=" "):
 """Indent each line of text with the given indent string."""

    lines = str(text).splitlines()
    return os.linesep.join("%s%s" % (indent_string, x) for x in lines)