Question: Write a script that looks up items on a shopping list (as a tuple using the items below) and prints whether or not the item

Write a script that looks up items on a shopping list (as a tuple using the items below) and prints whether or not the item is on the list and, if the item is on the list, tell them what number it is on the list. Don't tell the user their item is #0 on the list. bread milk cheese maple syrup eggs frozen pizza apples bananas tomatoes (Python) The result should look something like this: Welcome to the grocery list search tool! What item are you looking for?eggs Yes! Eggs is item #5!

As a tuple please.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!