Question: Write a program that will determine materials needed to paint. After your name on line 1, print Welcome to your last name Painting (example: Welcome

Write a program that will determine materials needed to paint. After your name on line 1, print Welcome to your last name Painting (example: Welcome to Kasay Painting.) Ask the user if they want to paint the interior or the exterior. Use data validation to be sure only interior or exterior is selected. Once you have valid input use an if statement to calculate the amount of supplies needed for each If interior is selected, ask the user to input the number of rooms. You will need 2 gallons of paint. 3 drop cloths, and 4 rolls of painters tape per room. The cost per room will be $500 per room. Calculate the total cost. You will print: For x interior rooms, you will need: x gallons of paint x drop cloths x rolls of painters tape Total cost: $ Where x is the variable for each item. If exterior is selected, ask the user to enter the square footage of the house (example: 2200). Use an if/else statement to determine the supplies needed as follows: If the user enters 0 3000, you will need 3 ladders, 10 gallons of paint, and 2 painters. If the user enter a number over 3000, you will need 5 ladders, 20 gallons of paint, and 3 painters. Cost will be $500 per 1000 square foot. You will print: For painting the exterior of a x square foot house, you will need: x ladders x gallons of paint x painters Total cost: $ Where x is the variable for each item. Be sure to run the program in PowerShell. Save the file as painting.py. Add a print statement on line 1 to print your first and last name. Add 3 comments on the while loop, on if statement and one other line that you feel needs to have a comment.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!