Given the list shoplist = ["banana", "clothes", "soap", "food", "Ice-cream"], write a Python program to: • Assign a variable item_to_check. • Check if item_to_check exists in the list. If not, prompt the user to add the item. • If the item exists, ask the user whether to modify or delete the item
-
Notifications
You must be signed in to change notification settings - Fork 0
Given the list shoplist = ["banana", "clothes", "soap", "food", "Ice-cream"], write a Python program to: • Assign a variable item_to_check. • Check if item_to_check exists in the list. If not, prompt the user to add the item. • If the item exists, ask the user whether to modify or delete the item
Pchavan85/ShopList
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Given the list shoplist = ["banana", "clothes", "soap", "food", "Ice-cream"], write a Python program to: • Assign a variable item_to_check. • Check if item_to_check exists in the list. If not, prompt the user to add the item. • If the item exists, ask the user whether to modify or delete the item
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published