Question: python Section 3.26 is a part of 1 assignment: Homework 3 Requirements: zyLab Entire class due 02/14/2020, 11:59 PM 3.26 Lab: House Renovation Inspired by

python
 python Section 3.26 is a part of 1 assignment: Homework 3
Requirements: zyLab Entire class due 02/14/2020, 11:59 PM 3.26 Lab: House Renovation
Inspired by true events As a young entrepreneur, you decide to start

Section 3.26 is a part of 1 assignment: Homework 3 Requirements: zyLab Entire class due 02/14/2020, 11:59 PM 3.26 Lab: House Renovation 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 LAD ACTIVITY 3.26.1: Lab: House Renovation 0/10 main.py Load default template 1 sqft per-208.8 3 exorcise . 5 define the function 6 def func(soft_painted, ppg, deamons): gallons-soft painted sqft per hours sqft painted 10/sqft_painted paint_cost-gallons ppg labor charges hours.Labor hour exor charges deamons exorcism total labor charges paint cost-exor_charges return gallons, hours, paint_cost, labor_charges, exor_charges, total; 15 Getting the input entered by the user 16 sqft painted float(input("How many soft is required to be painted?)) 17 ppg-float(input("What is the paint price per gallon ) 18 demonsafloat(input("How many deamons need to be exorcised?)) 19 gallons, hours, paint_cost, labor charges, exor charges, total funcisoft painted, ppe, demons) Develop mode Submit mode Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box then click Run program and observe the programis output in the second box Enter program input (optional) If your code requires input values, provide them here. Run program Input (from above) main.py Your program) Output (shown below) Program output displayed here 326 Lab: House Renovation 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. ACTIVITY 3.26.1: Lab: House Renovation 0/10 main.py Load default template hours-(soft painted-101/saft painted paint costugallons.ppg labor charges hours labor_hour enor charges demons-exorcis total labor charges.paint cost exor charges return gallons, hours, paint cost, labor charges, exor charges, total; 15 Getting the input entered by the user 16 sqft painted = float(input("How many soft is required to be painted?" 17 ppgefloat(input("What is the paint price per gatton?)) 18 demons float(input("How many deamons need to be exorcised?) 19 gallons, hours, paint cost, labor charges, exor charges, total funcisoft painted, poo, demons) 21 print(" of gallons of Paint required:"gallons) 22 print("No of hours required to paint:" hours) 23 print("Cost of paint:s", paint_cost) 24 print("Labor Chargests", labor charges 25 print("exorciss Chargesis", exor_charges) 25 print("Total cost: total) Develop mode Submit mode Run your program as often as you'd like, before submitting for grading. Below type any needed input values in the first box, then click Run program and observe the program's output in the second box Enter program input (optional) If your code requires input values, provide them here. Run program Input (from above) main.py Your program Output (shown below) Program output displayed here Trouble with lab (25 of 48 points) Activity summary for assignment: Homework 3 Due: 02/14/2020, 11:59 PM Completion details 4.1 else branches (general) SUVOS 1: Compare output A 0/5 Output differs. See highlights below. Special character legend Input Your output How many sqft is required to be painted? What is the paint price per gallor No of gallons of Paint required: 0.005 No of hours required to paint: 10.0. Cost of paint: $ 0.005 Labor Charges: 400.0 exorcism Charges: $ 100.0 Total cost:$ 500.005 Expected output How many sqft is required to be painted? What is the paint price per gallon?- How many demons need to be exorcised? (0.005, 0.05, 0.005, 2.0, 100.0, 102.005) 2. Compare output A 0/5 Output differs. See highlights below. Special character legend 540 230 Input Your output How many soft is required to be painted? What is the paint price per gallor No of gallons of Paint required: 2.7- No of hours required to paint: 10.0- Cost of paint: $ 621.0 Labor Charges :$ 400.0- exorcism Charges: $ 1000.0- Total cost $ 2021.0 Expected output How many sqft is required to be painted? What is the paint price per gallon? How many demons need to be exorcised? (2.7, 27.0, 621.0, 1080.0, 1000.0, 2701.0) Previous submissions 7:05 PM on 2/14/20 6:22 PM on 2/14/20 0/10 0/10 0/10 0/10 View View 5:14 PM on 2/14/20 5:05 PM on 2/14/20

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!