Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

LAB ACTIVITY 3.11.1: Program: Painting a wall (Python 3) 0/8 main.py Load defaul

ID: 3751176 • Letter: L

Question

LAB ACTIVITY 3.11.1: Program: Painting a wall (Python 3) 0/8 main.py Load default template... 4"red': 35, 5 "blue 25, 6 "green' 23 8 # FIXME (1): Prompt user to input wall's width 9 # Calculate and output wall area 10 wallHeight- float(input( Enter wall height (feet): )) 11 wallWidth-float (input( Enter wall width (feet): ") 12 areawalllidth*wallHeight 13 print('Wall area:(: .2f.format(area)) 14 # FIXME (2): Calculate and output the amount of paint in gallons needed to paint the wall 15 gallonsarea/350 16 print("Paint needed: gallons".format (gallons)) 17 # FIXME (3): Calculate and output the number of 1 gallon cans needed to paint the wall, rounded up to nearest integer 18 cansmath.ceil(gallons) 19 print("Cans needed: omat (cans)) 20 # FIXME (4): Calculate and output the total cost of paint can needed depending on color 21 color-input("Choose a color to paint the wall ") 22 cost cans paintColors[color] 23 print("Cost of purchasing f paint is f".format(color, cost)) 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 Develop modeS Submit mode Enter program input (optional) 12 15 red Input (from above main.py (Your program) Output (shown below) Run program Program output displayed here Enter wall height (feet) Enter wall width (feet): Wall area: 180.00 Paint needed: 0.5142857142857142 gallons Cans needed: 1 Choose a color to paint the wall Cost of purchasing red paint is 35

Explanation / Answer

Your entire program is correct, but you don't need print description for online.

modify lines of description like

wallWeight = float(input())

wallHeight = float(input())

print(gallons)

print(cans)

color = input()

print(cost)