You have been given a small application that needs to read in…

Question Answered step-by-step You have been given a small application that needs to read in… You have been given a small application that needs to read in values from a text file named “ResultsData.CSV” formatted as CSV and combine the information into a more human-readable output format in another text file. (Note: You do NOT need to import the CSV library.)The basic structure of the program is provided in the file: Program2-StudentName.py and has sufficient comments to indicate what needs to be completed in order to get the program working. Treat the internal comments like pseudocode. You will need only to enter information into the ProcessInformationFile() subprogram/function.You are required to read the file’s contents, line by line. For each line, you will separate the student’s name from their score and append it to appropriate lists using the code given.You may add debugging and checking code to the program but before you submit your program, you will comment out this extraneous code.A sample of the input text file is: Ellen,91.7Manuel,61James,72.1Amber,80Conrad,45Jean,85.3Michael,71.5Regina,78.9  A sample run of the program would produce the following output on the screen:Reading information from: ResultsData.csv8 records output to: OutputInformation.txt The provided code is included later in this assessment document for initial reference only. You should use the supplied file: Program2-StudentName.py to complete the program.  What you need to produceProduce appropriate Python code to obtain output that is like the samples given above based on your documentation. The python code includes internal documentation briefly describing what the program is doing in sections.  Provide screen snips of the testing that you perform with your program including a description of how you tested overall and some sample snips of you using the debugger in IDLE, Thonny (or similar) to step through your program line by line. Does the program work? How do you know for certain? Checklist:Your Program must: Follow the comments present in the supplied Python file☐Resolve and use the Global variable to allow the record count to be completed☐Open files for reading/writing using the name variables set at the top of the file☐Close files when finished☐Create the OutputInformation.txt file with the correct contents☐ Computer Science Engineering & Technology Python Programming ICTPRG 302 Share QuestionEmailCopy link Comments (0)