Dictionaries and Sets: Taste Journal
Start Assignment
I find it difficult to remember which foods I like and which foods I don't. Who has the time to memorize what a banana tastes like? That's why we've got Python! Create a python program that (temporarily) stores different foods and your assessment of their flavor. Users can add new foods and flavor reviews to the program or look up existing foods to see what they thought of them previously.
Use a dictionary to act as your Taste Journal. You can use a loop to ask the user whether they'd like to look up an existing food or add a new one, then process the action as necessary. Your program should handle incorrect input.
Upload your .py file here.
Example:
Welcome to the Taste Journal! Enter 1 to add a new entry, or 2 to look up an existing entry.
Enter to quit.
>>> 1
What is the food to be added?
>>> Baked Potato
How did it taste?
>>>a little bland
Would you like to continue? Y or N
>>> Y
Welcome to the Taste Journal! Enter 1 to add a new entry, or 2 to look up an existing entry. Enter to quit.
>>> 2
What is the food?
>>> Baked Potato
The Baked Potato verdict: a little bland
Hints and Notes:
• Your program only needs to store this information while it's running. In otherwords, you don't need to save any information to file, and it's fine if your Taste Journal dictionary is blank to start
• If a user enters an existing food in the entry option, then you should update that food's flavor with the new entry. After all, some foods grow on us.
Requirements:
You must use a dictionary to store your foods and flavor reviews
• Your program must run until the user chooses to exit.
Users should be able to add food/flavor combinations and look up those combinations.
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme