Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please don't make the code too complicated I just started doing coding and it's very hard for me Part 1: Python Exercise 1 (25 points)
please don't make the code too complicated I just started doing coding and it's very hard for me
Part 1: Python Exercise 1 (25 points) Write a program to tell a user what's in the menu for a given day. In this program, the menu is as follows: onday Spaghetthi bolognese Tuesday Cheese burger Wednesday Chow mein y Pizza Grilled Salmon Friday To achieve this, create a Python dictionary containing these data. Your program should do the following: 1. Ask the user what day they're interested in 2. Make sure the requested day is in fact in the menu (notice there are no weekends). You can use the get dictionary method for this. 3. If the requested day is in the menu, print out a message to the screen with the corresponding menu information 4. If the requested day is not in the menu, print out a message accordingly For example, for Monday and Saturday: What day are you interested in? Monday The food choice for Monday is Spaghetti bolo gnese What day are you interested in? Saturday Saturday is not in the menu
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started