Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Design a Grocery Store Management Software in Python programming language. Design must include three accounts, namely: Cashier, Owner and Customer. Data should be stored
Design a Grocery Store Management Software in Python programming language. Design must include three accounts, namely: Cashier, Owner and Customer. Data should be stored using lists, files and dictionary data structures. Work out the following details of the accounts and data: 1. User should be prompted to be entered into the system as a Cashier, Owner or Customer 2. Choose appropriate conditional statements for the three accounts. 3. Select suitable values for item names and price and store it in a text file. 4. Use lists and dictionary data structures to hold the data in the code. Use try/except block to catch the exception in the code. 5. Owner of the store will have full authority of the store He should be able to change the prices of the items and be able to add new items. 6. Cashier and the customer must only see the items list with prices when requested. Cashier should not be able to edit the price of the items or add new items. A message of sold items should be printed when a customer buys items from the store. 7. Use the Anaconda IDE and Spyder4 to test the accuracy of the developed software.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Here is a code for the Grocery Store Management Software in Python python Data stored in text file itemsfile itemstxt Function to read items and price...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started