Design a Grocery Store Management Software in Python programming language. Design must include three accounts, namely:...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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. 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.
Expert Answer:
Answer rating: 100% (QA)
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... View the full answer
Related Book For
Auditing and Assurance Services A Systematic Approach
ISBN: 978-1259162343
9th edition
Authors: William Messier, Steven Glover, Douglas Prawitt
Posted Date:
Students also viewed these programming questions
-
Question 1 (10 marks) Describe with your own words the J-curve effect. Relate this to the Marshall-Lerner condition. (5 marks) According to the monetary model, what happens when there is a fall in...
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
An important U.S. government organization charged with setting human resource management guidelines is O the EEOC (Equal Employment Opportunity Commission). the OSHA (Occupational Safety and Health...
-
A $5000, 6% bond is purchased 13 years before maturity to yield 6.5% semi-annually. If the bond interest is payable semi-annually, what is the purchase price of the bond?
-
What is meant by a capitalization (or cap) rate in reference to calculating a terminal value? What other types of terminal values might be appropriate (i.e., other than smooth growth procedures)?
-
Aging Method Bad Debt Expense} Carol Simone, the manager of Handy Plumbing, has provided you with the following aging schedule for Handy's accounts receivable: Carol indicates that the \(\$ 125,200\)...
-
Assuming the same information as for Problem 21-2, suppose Hastings will increase Vandells level of debt at the end of Year 3 to $30.6 million so that the target capital structure is now 45% debt....
-
Solve using telescoping series test Test for convergence or divergence, using one of the tests listed below. 5 n = 1 n(n + 5) O converges O diverges Identify which test you used. (There is more than...
-
To answer this question, you must obtain data from the Bureau of Economic Analysis (BEA), http://www.bea.gov, on the U.S. balance of payment (BOP) tables. Go to interactive tables to obtain annual...
-
When developing an insurance scoring factor a company may not consider
-
U.S. GAAP requires that certain leases be accounted for as capital leases. The reason for this treatment is that this type of lease a. conveys the benefits and risks of ownership of the asset. b. is...
-
Verify your solutions to any five exercises from Exercises 142 by using a graphing utility to graph the two equations in the system in the same viewing rectangle. Then use the intersection feature to...
-
For a lease that is accounted for as an operating lease by the lessee, the monthly rental payments should be a. allocated between interest expense and depreciation expense. b. allocated between a...
-
The balance sheet liability for a capital lease would be reduced each period by the a. lease payment. b. lease payment plus the amortization of the related asset. c. lease payment less the...
-
Burgstahler Corporation bought a lot to construct a new corporate office building. An older building on the lot was razed immediately so that the office building could be constructed. The cost of...
-
You are an audit senior in Law & Co., which was recently appointed as the external auditor of Lifelong Tel Sdn. Bhd. ('LTSB') for the year ended 31 August 2021. You and the audit manager are curre...
-
Using a graphing utility, graph y = cot -1 x.
-
Identify all the cyclic subgraphs of Graph \(C\). Use Graphs \(A, B\), and \(C\). Graph A Graph B Graph C
-
Identify all the cyclic subgraphs of Graph \(B\). Use Graphs \(A, B\), and \(C\). Graph A Graph B Graph C
-
Draw four spanning trees of Graph \(C\) that each have only one edge with an endpoint at vertex \(u\). Use Graphs \(A, B\), and \(C\). Graph A Graph B Graph C
Study smarter with the SolutionInn App