You've just been hired to work at a popular restaurant in the center of town. Your manager, trying to keep up with the internet age, would like to design a new app so that customers can order on the...


You've just been hired to work at a popular restaurant in the center of town. Your manager,<br>trying to keep up with the internet age, would like to design a new app so that customers can<br>order on the go. Since you're quite proficient in Python, you eagerly accept the job.<br>Write a Python program that repeatedly prompts the user to enter a food item until a null string is<br>entered. You should store each item entered in a Python list, then print out the items, one at a<br>time, ignoring duplicates (the customer clearly mistyped). Finally, print out the total cost of the<br>food items entered, as follows:<br>If the food's name contains 'burger', it costs $3.00<br>If the food's name contains 'soda', it costs $2.00<br>All other foods are premium items and cost $5.00<br>You may want to use the Python in operator to check each entered string for 'burger’ or 'soda'.<br>An example interaction with the new app is given below:<br>

Extracted text: You've just been hired to work at a popular restaurant in the center of town. Your manager, trying to keep up with the internet age, would like to design a new app so that customers can order on the go. Since you're quite proficient in Python, you eagerly accept the job. Write a Python program that repeatedly prompts the user to enter a food item until a null string is entered. You should store each item entered in a Python list, then print out the items, one at a time, ignoring duplicates (the customer clearly mistyped). Finally, print out the total cost of the food items entered, as follows: If the food's name contains 'burger', it costs $3.00 If the food's name contains 'soda', it costs $2.00 All other foods are premium items and cost $5.00 You may want to use the Python in operator to check each entered string for 'burger’ or 'soda'. An example interaction with the new app is given below:

Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here