input: from typing import List
  
  def construct_xml_document(items: List[str]) -> None:
      """ Constructs an XML document using Python which contains the given list of items.
      >>> construct_xml_document(['Item1', 'Item2', 'Item3'])
      Creates 'data.xml' with the contents:
      <data>
          <item>Item1</item>
          <item>Item2</item>
          <item>Item3</item>
      </data>
      """
output:     with open('data.xml', 'w') as f:
          f.write('<data>\n')
          for item in items:
              f.write(f'    <item>{item}</item>\n')
          f.write('</data>\n')