<reponame>arongas/python-examples
import math


def paint_calc(width, height, cover):
    cans = math.ceil(width * height / cover)
    print(f"You'll need {cans} cans of paint.")


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)

import math


def paint_calc(width, height, cover):
    cans = math.ceil(width * height / cover)
    print(f"You'll need {cans} cans of paint.")


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)