<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def trim_whitespace(self, text):
 """Remove leading whitespace from each line of a multiline string Args: text (string):
 The text to be unindented Returns: string: The unindented block of text """


        lines = text.split('\n')
        new_lines = [x.lstrip() for x in lines]

        return '\n'.join(new_lines)