Question: Python Please Design a program that reads the IQ-test. txt file (as shown below, Records stored in IQ-test.txt file) and prints each person's name and

Python Please

Python Please Design a program that reads the IQ-test. txt file (as

Design a program that reads the IQ-test. txt file (as shown below, "Records stored in IQ-test.txt file") and prints each person's name and score as shown in the following sample run. Notice the placement of spaces, colons, and blank lines. In this assignment you should -Use only commands, statements, methods, modules covered in chapter 1 to 6 -Provide Flowchart, IPO chart -Design a program that follows Top-Down Design -the program that you design should handle an input file that contains unknown number of records, -the program that you wrote should handle the following exceptions: - It should handle any IOError exceptions that are raised when the file is opened and data is read from it. - It should handle any ValueError exceptions that are raised when the items that are read from the file are converted to a number. Records stored in IQ-test.txt file: Tim \92 Mateo 76 Marissa 84 David 60 Sample run output: Name: Tim Score: 92 Name: Mateo Score: 76 Name: Marissa Score: 84 Name: David Score: 60

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!