Welcome to Westonci.ca, where your questions are met with accurate answers from a community of experts and enthusiasts. Our platform provides a seamless experience for finding reliable answers from a network of experienced professionals. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals.
Sagot :
Answer:
Follows are the code to the given question:
Wallsize = int(input("Enter the size of wall space for painting(in sq ft): "))#defining variable Wallsize for input value
rate = int(input("Enter the price of the paint(per gallon): $"))#defining variable rate for input value
per_Gallon = Wallsize/115#defining a variable per_Gallon that calculate its value
print("Number of Gallons of paint: ",per_Gallon)#print value with message
total_Hours = per_Gallon * 8#defining a variable total_Hours that calculate its value
print("Hours of labor required: ",total_Hours)#print value with message
paint_Cost = rate * per_Gallon#defining a variable paint_Cost that calculate its value
print("Cost of the paint: $",paint_Cost)#print value with message
labor_Charge = total_Hours * 20#defining a variable labor_Charge that calculate its value
print("Labor charges: $",labor_Charge)#print value with message
total_Cost = paint_Cost + labor_Charge#defining a variable total_Cost that calculate its value
print("Total cost of paint job: $",total_Cost)#print value with message
Output:
Enter the size of wall space for painting(in sq ft): 800
Enter the price of the paint(per gallon): $33
Number of Gallons of paint: 6.956521739130435
Hours of labor required: 55.65217391304348
Cost of the paint: $ 229.56521739130434
Labor charges: $ 1113.0434782608695
Total cost of paint job: $ 1342.6086956521738
Explanation:
Please find the complete question in the attached file.
In this code, the "Wallsize and rate" two variable is defined that is used for input the value from the user-end, after input the value multiple variables"
per_Gallon, total_Hours,paint_Cost, labor_Charge, and total_Cost" is declared, in which it calculates its respective value and prints the value with the message value.

We appreciate your time. Please come back anytime for the latest information and answers to your questions. We appreciate your time. Please revisit us for more reliable answers to any questions you may have. We're here to help at Westonci.ca. Keep visiting for the best answers to your questions.