Question: #Define Product Object #Create productList #Define Functions Needed to Maintain productList #Main Part of Program #Read Data About Products from text file into productList #Enter
#Define Product Object
#Create productList
#Define Functions Needed to Maintain productList
#Main Part of Program
#Read Data About Products from text file into productList
#Enter Transaction Loop
choice
while choice :
print Add Product"
print Delete Product"
print Change Price"
print Purchase Product Units"
print Sell Product Units"
print Display One Product"
print Display All Products"
print Exit"
choice intinputEnter Choice:
if choice :
#Code to add a product
elif choice :
#Code to delete a product
#Continue through choice
#Code to write data from productList to a text file gummy bears
pringles
milk
brownies
cookies
eggs
arizona green tea
bread
chocolate
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
