input: 
  def construct_xml_document_from_list(items: List[str]) -> None:
      """ Given a list of strings, construct an XML document where each string is a subelement.
      >>> construct_xml_document_from_list(['Item1', 'Item2', 'Item3'])
      # The function does not return anything but writes the XML to 'data.xml'
      """
      import xml.etree.ElementTree as ET
  
      # creating the root element
      data = ET.Element('data')
  
      # loop over items
      for item in items:
          # creating sub elements
          item_element = ET.SubElement(data, 'item')
  
          # assign the value for the sub elements
          item_element.text = item
  
      # write the XML Tree
      tree = ET.ElementTree(data)
      tree.write('data.xml')
  
output:     import xml.etree.ElementTree as ET
  
      # creating the root element
      data = ET.Element('data')
  
      # loop over items
      for item in items:
          # creating sub elements
          item_element = ET.SubElement(data, 'item')
  
          # assign the value for the sub elements
          item_element.text = item
  
      # write the XML Tree
      tree = ET.ElementTree(data)
      tree.write('data.xml')