in order to write outputyou need writer object the datawriter object is configured to use csvfile as the output fileto use / as the record characterto quote records using spaceand to provide quoting only on nonnumeric values this setup will produce some interesting results laterbut for nowjust assume that this is what you need to make the output usable actually writing the data takes less effort than you might think single call to datawriter writerow(with the datalist as input is all you need always close the file when you get done using it this action flushes the data (makes sure that it gets writtento the hard drive the code ends by telling you that the data has been saved save the code as formatteddata py open new python file window you see an editor in which you can type the example code type the following code into the window -pressing enter after each linefrom formatteddata import formatdata newdata [formatdata("george" true)formatdata("sally" false)formatdata("doug" true)formatdata savedata("testfile csv"newdatathis example should look similar to the one you created in the "creating content for permanent storagesectionearlier in the you still create newdata as list howeverinstead of displaying the information onscreenyou send it to file instead by calling formatdata savedata(this is one of those situations in which using an instance method would actually get in the way to use an instance methodyou would first need to create an instance of formatdata that wouldn' actually do anything for you choose runrun module the application runsand you see data saved message as output of coursethat doesn' tell you anything about the data in the source code fileyou see new file named testfile csv most platforms have default application that opens such file with windowsyou can open it using excel and wordpad (among other applicationsfigure - shows the output in excelwhile figure - shows it in wordpad in both casesthe output looks surprisingly similar to the output shown in figure -