Page 1 of 1

Source code should be Python

Posted: Sun Jul 03, 2022 10:00 am
by answerhappygod
Source code should be Python
Source Code Should Be Python 1
Source Code Should Be Python 1 (6.17 KiB) Viewed 13 times
Step1: Write a class named Retailltem that holds data about an item in a retail store. The class should store the following data in attributes: items description, units in inventory, and price.
Step 2: (After completing Step 1 of B-3) Write a program that creates three Retailltem objects (three instances) that store the following data. Units in Inventory Description Jacket Designer Jeans Shirt Prod1 Prod2 Prod3 Your output may look like the following: Product 1: Description: Jacket Units in inventory: 12 Price: $249,99 Product 2: Description: Designer Jeans Units in inventory: 30 Price: $199.99 Product 3: Description: Shirt Units in inventory: 45 Price: $49.99 12 30 45 Price $249.99 $199.99 $49.99