Answered You can hire a professional tutor to get the answer.

QUESTION

WELCOME to the program! Add an item 2 . List all items `. Delete an item 4 . Exit Enter a menu option : 2 1 : bananas 2: apples Enter a menu option :...

a shopping list program

add_item(shopping_list) function, a delete_item(shopping_list) function, a display_list(shopping_list) function, a display_menu() function, and a main().

·      The program should start with 2 items in the shopping list.

·      include at the end of the program the code:

o  if __name__ == "__main__":

:    number=int(input())    number< number>len(shopping_list):        print()    :        item=shopping_list.pop(number)        print(item,)    print()WELCOME to the program!1 . Add an item2 . List all items`. Delete an item4 . ExitEnter a menu option : 21 : bananas2: applesEnter a menu option : 1Please Enter the item : pears`cars was added to the shopping listEnter a menu option : 21 : banana's2: 3FRIES3: HEATSEnter a menu option : }Which number to delete : ]years was deletedEnter a menu option : 21 : banana's2: APPLESEnter a menu option :* *have a Great day !
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question