<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def append(self, element):
 """Append new element to the SVG figure"""

        try:
            self.root.append(element.root)
        except AttributeError:
            self.root.append(GroupElement(element).root)