<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(lines, amount, ch=' '):
 """Indent the lines in a string by padding each one with proper number of pad characters"""

    padding = amount * ch
    return padding + ('\n' + padding).join(lines.split('\n'))