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 =0
while choice <8:
print("1. Add Product")
print("2. Delete Product")
print("3. Change Price")
print("4. Purchase Product Units")
print("5. Sell Product Units")
print("6. Display One Product")
print("7. Display All Products")
print("8. Exit")
choice = int(input("Enter Choice: "))
if choice ==1:
#Code to add a product
elif choice ==2:
#Code to delete a product
#Continue through choice ==7
#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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!