Question: Program Lunch Special Adv.Assignment DescriptionWrite up a program that asks the user for their name, the current day, and if they have a membership. It
Program Lunch Special Adv.Assignment DescriptionWrite up a program that asks the user for their name, the current day, and if they have a membership. It should then display the special of the day at a restaurant, along with the price.SpecialsDaySpecialPriceMondaySpaghetti$TuesdayLasagna$WednesdayMinestrone soup$ThursdayPot pie$FridayTacos$Also, note that for Tuesday and Thursday, the special changes to the following, when the user's name is less than five characters.DaySpecialPriceTuesdayImpossible Burger$ThursdayBeyond Burger$NOTE: If the person has a membership, then prices are reduced by $Example of ExpectationsYou don't have to match the following output exactly as long as you fulfill all of the requirements. This is just an example.I will run the program like so:$ python main.pyPlease enter your name:I will then type my name in and hit Enter.Please enter your name: StevenPlease enter the day of the week Mon Tue, Wed, Thu, Fri: I will then enter the day of the week, and hit Enter.Please enter the day of the week Mon Tue, Wed, Thu, Fri: TueDo you have a membership yN: I will then enter y for Yes, or n for No and hit Enter. The special should then be printed out.Do you have a membership yN: yThe special for Tuesday is Lasagna for $Another Example$ python main.pyPlease enter your name: StevenPlease enter the day of the week Mon Tue, Wed, Thu, Fri: TueDo you have a membership yN: nThe special for Tuesday is Lasagna for $Requirements for credit all must be satisfied:Header on every pythontext file:Your nameDateCRN: Class name: CIS : Python ProgrammingInclude total time estimate it took to complete the assignment For example, hours"Program works as described aboveDon't forget the membership price reductionPython Code:Your code style should match PEP in general:snakecase for variables, functions, and methodsFilenames should also be in snakecase.py formatCamelCase for classesIndentation is with spacesFunctions and classes must be documented with docstringsDo not have code like ossystemcls as that only works on Windows and not everyone likes their terminal reset.Your program should only start when ran, not imported. See this tutorial by Ayush Priya for more info.# Instead of having:main# you should have:if namemain: mainExplain how designed:Flowchart of main part of program; ORParagraph of at least sentence each, explaining what you did for each part of the Development Cycle:Design: How will you solve the problem?Develop: What did you actually do to solve the problem?Test: What did you test?Document: Explain your code for your future self and others.This can be a separate file, or a comment at the top of the fileUser Documentation:Paragraph for enduser on how to use programThis can be a separate file, or a comment at the top of the fileDo not plagiarizeYou may not copy code or text from other sources, you must write everything in your own wordsIf you are copying and pasting then it's probably plagiarismAdding a citation is not enough to prevent plagiarismAll paragraphs if any are at least sentences
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
