File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 1+ #Painting Wall.
12#11- Write a program that reads the width and height of a wall in meters, calculates the amount of paint needed to
23# paint it, knowing that each liter of paint paints an area of 2m².
34area_q = float (input ('Enter the height in meters of the wall you want to paint:' ))
67liter = area / 2
78print (f'If you have an area of { area } m soon you will need { liter } liters to paint it.' )
89
10+ #Pintando Parede.
911#11: Faça um programa que leia a largura e a altura de uma parede em metros, calcule a sua área e a quantidade de tinta
1012# necessária para pintá-la, sabendo que cada litro de tinta pinta uma área de 2 metros quadrados.
1113'''print('Vamos calcular quantos litros de tinta você vai precisar para pintar uma parede?')
You can’t perform that action at this time.
0 commit comments