<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def del_label(self, name):
 """Delete a label by name."""

        labels_tag = self.root[0]
        labels_tag.remove(self._find_label(name))