Question: It needs to be in python and have try, except in the program A hotel salesperson enters sales in a text file. Each line contains
It needs to be in python and have try, except in the program A hotel salesperson enters sales in a text file. Each line contains the following separated by semicolons: The name of the client, the service sold (such as Dinner Conference, Lodging, and so on), the amount of the sale, and the date of that event. Write a program that reads such a file and displays the total amount for each service category. Display an error if the file does not exist or the format is incorrect
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
