input: 
  def create_xml_document(items: List[str]):
      """Create an XML document using Python which contains the given list of items as sub elements of 'data' root element.
      >>> create_xml_document(['Item1', 'Item2', 'Item3'])
      [XML Output not shown]
      """
  
output:     
      from xml.etree.ElementTree import Element, SubElement, tostring
  
      root = Element('data')
      for item in items:
          sub_element = SubElement(root, 'item')
          sub_element.text = item
      return tostring(root, encoding='unicode')
  