The service.py program, given below, creates vehicle maintenance service calls and display their details. A service call
Question:
The service.py program, given below, creates vehicle maintenance service calls and display their details. A service call may be a request to maintain a truck (represented by the class TruckService) or a car (CarService). Write the missing code (#TODO) in the classes TruckService and CarService for the program execution to display created service calls and their details, as shown below.
The submitted solutions must not make any changes to service.py except for the bodies (indicated by #TODO) of the classes CarService and TruckService.
Note: Since the values for VIN, cost, occupancy and payload are randomly generated, they are expected to be different for every execution instance of the program.
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill