Question: I want the answer in python thanks! Part 1: Design and write a function named display_menu, that will display the following menu of numbered (1

I want the answer in python thanks!
Part 1: Design and write a function named display_menu, that will display the following menu of numbered (1 - 7) choices when called. This function should take no arguments, and should return no value For example, display_menu() should print out the following: 1) eggs 2) bacon 3) pancakes 4) orange juice 5) oatmeal 6) wilk 7) donut 53.25 $4.00 $2.50 $1.25 $3.99 $1.25 $2.00 Part 2: Design and write a function named get menu choice, that. This function should take no arguments, and should return an int value When called, this will prompt the user to enter a menu item number, and collect and return the user's choice. Part 3: Design and write a function named get_price_of_menu_choice. This function should take an int argument indicating a menu choice (1 - 7), and should return a float value indicating the price of this menu item. For example, (given the menu from the display menu function above): get price of menu choice(1) should return the value 3.25 get_price_of_menu_choice(5) should return the value 3.99 get_price_of_menu_choice(2) should return the value 4.00 Part 4: Design and write a function named diner_wants another item. This function should take no arguments, and should return a boolean value. When called, this function should ask the user if this diner want to order another menu item ('yes' or 'no'), and collect the user's input. If the user indicates that the diner would like to order another item from the menu (by typing in 'yes"), then this function should return the boolean value True, otherwise this function should return the value False python Part 5: Design and write a function named get_number_of_diners_at_table, that will take no arguments and will return an int value indicating the number of diners at this table. When called, this function will ask the user how many diners are at this table (1-4), and collect and return that value as an int. Part 6: Design and write a function named display suggested tip amounts. This function should take a float argument indicating a cost, and should return no value. This function should display a list of tip amounts for 10%, 15%, 20%, and 25% tip rates based on the cost value passed in as an argument. For example, display suggested tip amounts(12.95) should print out something like this: 10% tip: 1.30 15% tip: 1.94 20% tip: 2.59 25% tip: 3.24 Part 7: Design and write a function named get diners order. This function should take no arguments, and should return a float value (the total cost of this diner's order). When called, this function should first display the menu by calling the display menu function. Then the function should continue to ask if this diner would like to order another menu item (by calling the diner_wants_another_item function) - collecting the total cost of all items ordered by this diner (use the get_menu_choice function to get each menu item ordered by this diner, and call the get price of menu choice function to determine the cost of each menu item ordered by this diner) - until the diner does not want any more menu items. After the diner has finished ordering menu items, the function should print out the total cost of this diner's order (both without and with 8% sales tax). Finally, this function should return the accumulated total cost (pre tax) of all menu items ordered by this diner
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
