Question: Please give me the solution thanks! 2. Write a function orderPizza that allows the user input to build a pizza. you message, the cost of
Please give me the solution thanks!
2. Write a function orderPizza that allows the user input to build a pizza. you message, the cost of the pizza and then returns the Pizza that was built It then prints a thank Welcome to Python Pizza! What 312e pizza would you like (SdLW: M Type topping to add (or Enter to quit): mushroom Type topping to add (or Enter to quit): onion Type topping to ada (or Enter to quit) garlic Type topping to add (or Enter to quit): Thanks for ordering! Your pizza costs $14.299999999999999 Pizzac'M',f'mushroom','onion', 'garlic') >>>orderRizzal Welcome to Python Pizza! What size pizza would you like (SM,L): L Type topping to add (or Enter to quit): calamari Type topping to add (or Enter to quit): garlic Type topping to add (or Enter to quit): Thanks for ordering! Your pizza costs $16.65 ?izzal'L','garlic', "calamari') >>> p= Welcome to Python Pizza! What size pizza would you like (S M,L): S Type topping to add (or Enter to quit): Thanks for ordering! Your pizza costs $6.25
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
