(so basically, there are 3 lines of data for each student and each of the fields is separated by a comma)
<first name>,<middle name>,<last name>,<box number>
<number>,<street>,<city>,<state>,<zip code>
<gpa>
so far I have:
Expand|Select|Wrap|Line Numbers
- listOfStrings=['Samuel','C.','Young','9614','\n','24','Overlook Park','Philadelphia','PA','43278','\n','3.04','\n]
- fh=open("input.txt",'w')
- fh.write(listOfStrings)
- fh.close()
SamuelC.Young9614
24OverlookParkPhiladelphiaPA43278
3.04
so how do I get commas in there? Thanks in advance.