<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, num=4):
 """Indet the given string"""

    str_indent = ' ' * num
    return str_indent + ('\n' + str_indent).join(text.splitlines())