Question: Download the following program from Brightspace and open it in IDLE: 1 . Open Notepad and create a file with 5 to 1 0 lines
Download the following program from Brightspace and open it in IDLE: Open Notepad and create a file with to lines of data. This data can be songs you like, favorite musical artists, sports teams or whatever else you may want to list. Save the file with a new name in the same folder the above program is saved in Change the program to so that it opens your file, and the open function creates a file object with a name that indicates the type of data you created. In other words, change studentfile to another name. This will allow your program to access that file. Run the program to test that it outputs the first records in your file. Add the following line before the printrecord line: record recordrstrip
Add a similar line before the other print commands. Run program. What changed on the output and why? OVER Consider the following algorithm in the following flowchart. It shows how to process all the records in a file until the end of file: Using the above logic and program in the textbook,It shows how to check for end of file modify your program to read and output all the data on your file. When finished testing your program, submit it your input file and the answer to question execution of your program.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
