Question: In Python 5. Retailitem Class Write a class named RetailItem that holds data about an item in a retail store. The class should store the
5. Retailitem Class Write a class named RetailItem that holds data about an item in a retail store. The class should store the following data in attributes: item description, units in inventory, and price. Once you have written the class, write a program that creates three Retailitem objects and stores the following data in them: Item #1 Item #2 Item #3 Description Jacket Designer Jeans Shirt Units in Inventory 12 40 20 Price 59.95 34.95 24.95
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
