Respuesta :

Answer:

def pyramid_volume(base_length, base_width, pyramid_height):

   base_area = base_length * base_width

   volume = 1 / 3 * base_area * pyramid_height

   return volume

Explanation:

Create a function called pyramid_volume that takes base_length, base_width, pyramid_height as parameters

The formula to calculate the volume of a pyramid is = 1/3Ah, A is the base area, h is the height

Inside the function, calculate the base area, multiply base_length with base_width. Then, calculate the volume using the formula. Return the volume

ACCESS MORE