subject

Modify the program you wrote for Chapter 6 Exercise 6 so it handles the followingexceptions:• It should handle IOError exceptions that are raised when the file is openedand data is read from it by printing "Trouble opening file. Try again." andnot executing any more of the code.• It should handle any ValueError exceptions that are raised when the itemsthat are read from the file are converted to a number by printing "File must haveonly numbers. Try again." and not executing any more of the code.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:00
Howard is designing a chair swing ride. the swing ropes are 5 meters long, and in full swing they tilt in an angle of 29° outside chairs to be 2.75 m above the ground in full swing.
Answers: 1
question
Computers and Technology, 22.06.2019 15:30
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
Answers: 1
question
Computers and Technology, 23.06.2019 09:10
Effective character encoding requires standardized code. compatible browsers. common languages. identical operating systems.
Answers: 1
question
Computers and Technology, 23.06.2019 20:00
Match the file formats with the types of multimedia they can store
Answers: 2
You know the right answer?
Modify the program you wrote for Chapter 6 Exercise 6 so it handles the followingexceptions:• It sho...
Questions
question
English, 13.01.2021 01:00
question
Computers and Technology, 13.01.2021 01:00
question
Mathematics, 13.01.2021 01:00
question
Mathematics, 13.01.2021 01:00
Questions on the website: 13722363