Paint Area Calculator
You are painting a wall. The instructions on the paint can say that **1 can of paint can cover 5 square meters** of the wall. Given a random height and width of wall, calculate how many cans of paint you'll need to buy. the number of cans = (wall height ✖️ wall width) ÷ coverage per can. But because you can't buy 0.6 of a can of paint, the **result should be rounded up** to **2** cans. import math def paint_calc(height, width, cover): print(f"You need {math.ceil((height*width)/coverage)} cans") test_h = int(input("Height of wall: ")) test_w = int(input("Width of wall: ")) coverage = 5 paint_calc(height=test_h, width=test_w, cover=coverage)