Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Inspired by true events As a young entrepreneur, you decide to start a house renovation business that combines two essential renovation tasks: house painting and
Inspired by true events As a young entrepreneur, you decide to start a house renovation business that combines two essential renovation tasks: house painting and exorcisms. Your task is to write a function that will compute the cost of painting and exorcism for your customers. For every 200 square feet, one gallon of paint and 10 hours of labor are required. Your company charges $40.00 per hour for labor and $100 per exorcism. Write a program that asks the user for the number of square feet to be painted, the price per gallon of paint, and the number of evil spirits that need to be exorcised. Then write a function that takes in these values from the user, (we give you code for this) calculates the number of gallons of paint required, the hours of labor required, the cost of paint, the labor charges, the exorcism charges, and the total cost of the job returns these 6 items in order defined above) in a tuple (see 3.10 Multiple function outputs). Your program must then print out this tuple. LAB ACTIVITY 3.26.1: Lab: House Renovation 0/100 main.py Load default template... 1 sqft per=200.0 2 labor hour-40.0 3 exorcism=100.0 5 # define the function 7 # ask for input 8 sqft_painted=float(input("How many sqft is required to be painted?")) 9 pPg float(input("What is the paint price per gallon?")) 10 demons=float(input("How many demons need to be exorcised?")) 12 # call the function and print
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started