<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, n=4):
 """Indent each line of text by n spaces"""

    _indent = ' ' * n
    return '\n'.join(_indent + line for line in text.split('\n'))