Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(20 points) Below is part of the code for completing Ashrqsted code.: when displaged ting it in the box whose indentation matches the s Be

image text in transcribed
(20 points) Below is part of the code for completing Ashrqsted code.: when displaged ting it in the box whose indentation matches the s Be writ validates the item selection and updates the item during the cart summary three menu strings are not shown, but will be what was required in A3. eting Assignment w3 start of the upply the missing code by (which will be done later by code that's not shown). The definitions ot the requested code. The code requested accurate when variables so while more-carts 'y' books_items 0 books_cost 0.0 elect-items 0 elect cost 0.0 clothing items clothing cost 0.0 bookliste [l'origin", 19.95].['Grant, 22.501, rPrairie Fires", 189S11 e elect list [I'HP Laptop', 429.501, rEyePhone 10,790.001.[ Bose 20 Speakers,220.00 cloth list - II'T-shirt',9.50], ['Shoes', 45.00]. ['Pants,24.001 # accumulates the total number of book # accumulates the total cost book i # ditto, but for electronics items selected items selected 0 # ditto, but for clothing more items 'y while more items'y': print(categoryMenu) #will print the category menu from A2 and A3 category - input("InSelect one of the categories or checkout) if category4' break elif category not in '123': print('Invalid category selected) continue print(bookMenu) # will print the book items menu from AS (selections 1-4) book pic int (input(InSelect the book number: ) if category == '1': cart summary if category elif category == '2": print(electronicsMenu) # code continues by processing electronics, clothing, then the

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

=+3. Prepare an adjusted trial balance.

Answered: 1 week ago