Question
Answered step-by-step

Finish the program to compute how many gallons of paint are needed

to cover the given square feet of walls. Assume 1 gallon can cover 350.0 square feet. So gallons = the square feet divided by 350.0. If the input is 250.0, the output should be: 
0.714285714286



1
2
3
4
5
6
7
8
9
10
11
12




gallons_paint = 0.0
wall_area = float(input())
# Assign gallons_paint below
wall_area = float(input())
gallons_paint = 0.0
gallons_paint = wall_area/350
print(gallons_paint)
Why is this code not working?

Answer & Explanation
Verified Solved by verified expert
Rated Helpful

entesq


m ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dap


ec facilisis. Pellenac, dictum vitae odio. Dones ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dictum vitae od

ll


iscing elit. Nam

Unlock full access to Course Hero

Explore over 16 million step-by-step answers from our library

Subscribe to view answer
Step-by-step explanation

rem ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor nec fac

e vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante,
Student reviews
60% (15 ratings)
Thorough explanation

"Thanks! I'm so new to this and this intro to scripting class is overwhelming lol"