SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 314 Weeks Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 04 Jan 2018 My Price 8.00

program that allows a user to create a shopping list

Please help! Python 3 no java =)

  1. Write a menu-driven program that allows a user to create a shopping list.  

  2. The user should have the option to add an item, remove an item, sort and print the list and quit the program.

  3. If the user attempts to remove an item that is not on the list, the program should not crash (i.e., you should check if the item is in the list before attempting to remove it).  

  4. If the user chooses to print the list, the printed list should be numbered.

  5. The program should keep displaying the menu until the user decides to quit.  

  6. Do user validation to make sure the user enters a valid choice from the menu.

  7. The program should continue asking the user until the user quits.


Here is an example of what your program’s menu should resemble:

a - Add an Item

r - Remove an Item

s - Sort Shopping List

p - Print Shopping List

q - Quit

Please enter your choice:


Here is an example of what your shopping list should look like when printed:


Your Shopping List contains:
1. water 
2. bread
3. pills
4. oil


Here is an example of what your shopping list should look like when printed after sorted:

Your Shopping List contains:
1. bread
2. oil
3. pills
4. water

Answers

(5)
Status NEW Posted 04 Jan 2018 12:01 PM My Price 8.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)