Using Python, write a Restaurant Pizza Order Program to provide a limited menu of Pizza styles, i.e, cheese, pepperoni, meatlovers, veggie, vegan, basil tomato, etc.
Prompt and get user input to append 6 different styles of pizza to the list of pizzas. After adding pizza types to the list, use a
for loop
to display a menu of pizza styles contained within the list. The cost of each pizza style is $9.95 Display the cost of each.
Prompt the customer for their order. The user can only select from the list of pizza styles. If the user enters a style that is not on the list, inform the user that the selection is unavailable. Continue to prompt the user for a valid pizza selection.
Hint: While loop, use String functions to convert input to lower case.
When a valid pizza is received, get input for the quantity of pizzas the customer wants to order. Solve for the subtotal cost of the customer order. Apply sales tax of 6% to the subtotal cost. Solve for the total cost of the order. Display a customer receipt displaying the type of pizza, quantity ordered, subtotal, sales Tax and total cost as shown below. Prompt the user for payment. Payment must be at least the total cost of the pizza. If the payment entered is less than total cost, continue to prompt the user until sufficient payment is entered. If payment is greater than cost, provide change.