OOP Homework Inheritance (PYTHON) 1. Given two classes as described in Customer.py (attached) Revise the class using inheritance to simplify the codes and to remove repetition of codes....


OOP Homework Inheritance (PYTHON)<br>1. Given two classes as described in Customer.py (attached) Revise the class using<br>inheritance to simplify the codes and to remove repetition of codes. Package-delivery<br>services, such as FedEx®, DHL® and UPS®, offer a umber of different shipping<br>options, each with specific costs associated. Create an inheritance hierarchy to<br>represent various types of packages.<br>Output:<br>Sender:<br>Ellen<br>Abberton WR10<br>Recipient:<br>Dane<br>Abbey Dore, HR2<br>Cost: £40e<br>Sender:<br>Mike<br>Agglethorpe DL8<br>Recipient:<br>Andy<br>Acton Bridge, CW8<br>Cost: £68e<br>Sender:<br>Andy<br>Acton Bridge CW8<br>Recipient:<br>Luke<br>Abingworth, RH20<br>Cost: £61e<br>

Extracted text: OOP Homework Inheritance (PYTHON) 1. Given two classes as described in Customer.py (attached) Revise the class using inheritance to simplify the codes and to remove repetition of codes. Package-delivery services, such as FedEx®, DHL® and UPS®, offer a umber of different shipping options, each with specific costs associated. Create an inheritance hierarchy to represent various types of packages. Output: Sender: Ellen Abberton WR10 Recipient: Dane Abbey Dore, HR2 Cost: £40e Sender: Mike Agglethorpe DL8 Recipient: Andy Acton Bridge, CW8 Cost: £68e Sender: Andy Acton Bridge CW8 Recipient: Luke Abingworth, RH20 Cost: £61e

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here