append(subelement)

Adds the element subelement to the end of this element’s internal list of subelements. Raises TypeError if subelement is not an Element.

Related Reading

xml.etree.ElementTree — The ElementTree XML API