Exercise 1 Congratulations, you've got a job at Python Pizza. Your first job is to build an automatic pizza order program. Based on a user's order, work out their final bill. Small Pizza: $15 Medium...


Exercise 1<br>Congratulations, you've got a job at Python Pizza. Your first job is to build an automatic pizza order<br>program.<br>Based on a user's order, work out their final bill.<br>Small Pizza: $15<br>Medium Pizza: $20<br>Large Pizza: $25<br>Pepperoni for Small Pizza: +$2<br>Pepperoni for Medium or Large Pizza: +$3<br>Extra cheese for any size pizza: + $1<br>Example Input<br>size =

Extracted text: Exercise 1 Congratulations, you've got a job at Python Pizza. Your first job is to build an automatic pizza order program. Based on a user's order, work out their final bill. Small Pizza: $15 Medium Pizza: $20 Large Pizza: $25 Pepperoni for Small Pizza: +$2 Pepperoni for Medium or Large Pizza: +$3 Extra cheese for any size pizza: + $1 Example Input size = "L" add_pepperoni="Y" extra cheese ="N" Example Output Your final bill is: $28. Hint 1. Think about what you've learnt about multiple if statements and see if you can reduce the number of lines of code while having the same functionality.

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here