<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete_lines(self, lines):
 """ Delete all lines with given line numbers. Args: lines (list):
 List of integers corresponding to line numbers to delete """

        for k, i in enumerate(lines):
            del self[i-k]