(1) Using a loop, output a menu of automobile services and the…
Question Answered step-by-step (1) Using a loop, output a menu of automobile services and the… (1) Using a loop, output a menu of automobile services and the associated price for each service. The user can select 1 through 5 from the menu. If the user enters 5, the loop will end. For all other values, the user will be prompted to select a menu number from 1 to 5 again. (15 pts) Ex:Mia’s auto shop services1. Oil change — $352. Tire rotation — $193. Car wash — $74. Car wax — $125. Quit (2) When the user enters 5 from the menu, or select 4 services from the menu, exit the loop immediately and calculate the total cost. Output the cost for each service and the total cost. (15 pts) Mia’s auto shop services1. Oil change — $352. Tire rotation — $193. Car wash — $74. Car wax — $125. quitSelect a service: 4Mia’s auto shop services1. Oil change — $352. Tire rotation — $193. Car wash — $74. Car wax — $125. quitSelect a service: 3Mia’s auto shop services1. Oil change — $352. Tire rotation — $193. Car wash — $74. Car wax — $125. quitSelect a service: 5Your selected services:Service 1: Car wax — $12Service 2: Car wash — $7Total: $19 You should allow the user to select no service as an option. So, the user can enter 5 and exit the loop. For example,Mia’s auto shop services1. Oil change — $352. Tire rotation — $193. Car wash — $74. Car wax — $125. quitSelect a service: 5Your selected services:Total: $0This problem is based on homework 4.27. You can look it up in your homework and use it for this quiz.There are two ways to keep track of the selected services. 1. use a list and append each service to the list. 2. You can combine the strings as the user selects the services from the menu. Computer Science Engineering & Technology Python Programming COMPUTER SCIENCE 1004 Share QuestionEmailCopy link Comments (0)


