Question: Python. A software company provides 4 different services where each service has a service code. The actual services provided to customers are given in a

Python.
A software company provides 4 different services where each service has a service code.
The actual services provided to customers are given in a file (named customerServices.dat) in this format.
Tax Associates Inc,wx4566,wx1267,wx5610
Auto Services,wx1267,wx5610
General Foods Inc, wx1267
customerServices.dat
Note that this file can be very lage though for this question, there's only three records.
There can be max of 4 services provided per customer and for each customer the number of services can be different - as you can see in the above example,
Tax Associates Inc receives 3 services and Auto Services receives 2 services and so on....
The 4 services company provides are listed in three lists as shown below with the service codes, service descriptions and their prices
serviceCodes =['wx4566',?'wx4956',?'wx1267',?'wx5610']
serviceDescriptions =[ 'Integration', 'Repair', 'Maintenence', 'Deployment']
servicePrices =[12200.00,4395.00,10345.00,28000.00]
Write a python script to read the input customerServices.dat file line by line, to print a formatted report as shown below.
Make sure to print your name.
**************************************************************************************************
ABCD Software Systems
Name: Print Your Name
Customer Name: Tax Associates Inc
Customer Name: Auto Services
wx1267
wx5610
Maintenence
10345.00
Deployment
28000.00
Customer Name: General Foods Inc
wx1267
Maintenence
10345.00
Python. A software company provides 4 different

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 Programming Questions!