def find_prymaid_base_area(base_length, base_width):
return base_length * base_width
def find_pyramid_vol(base_length, base_width, height):
base_area = find_pyramid_base_area(base_length, base_width)
return base_area * height * (1.0 / 3.0)
pyramid_base_length = float(input())
pyramid_base_width = float(input())
pyramid_height = float(input())
print(f'Pyramid base length: {pyramid_base_length}')
print(f'Pyramid base width: {pyramid_base_width}')
print(f'Pyramid height: {pyramid_height}')
print(f'Base area: {find_pyramid_base_area(pyramid_base_length, pyramid_base_width):.1f}')
print(f'Volume: {find_pyramid_vol(pyramid_base_length, pyramid_base_width, pyramid_height):.1f}')
To embed this project on your website, copy the following code and paste it into your website's HTML: