Google Earth is a mapping application that can load in data files that look like XML (they are "KML") and use that data to add locations, marks, or other pieces of information to the map visualization. Now that we know how to output text files using a Python code, imagine creating a KML file as output. Marker locations or visual properties, like the size or color of pins in the map, could be chosen based on some logic or analysis in your program. Then, you could open the KML in Google Earth and use the visualization to evaluate a claim about the data.
First, you'll need to get Google Earth up and running.
Download CIT.kml. In Google Earth, choose File > Open... from the menu bar and select the KML file you downloaded.
CIT.kml. Can you locate the properties of marks with this file?<Placemark> and ending with </Placemark>, and filled with valid KML for this "element". If you begin with a template of what the placemark code looks like (as a string), you can concatenate your input arguments into that string in place of the predefined text.CIT.kml to see what the other, non-Placemark text in the file should look like. Your function should return the big string representing the document.