<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(code, by=1):
 """Indents every nonempty line of the given code."""

    return "".join(
        ("    " * by if line else "") + line for line in code.splitlines(True)
    )