Agustin G. answered 03/22/24
Tutor
5
(2)
Effective English Tutor Specializing in Reading and Test Prep Skills
"""
If every brick is 12 in. long, 6 in. wide, and 5 in. tall,
then their volume would be their length times width times height.
We know the total volume of concrete used, 12600 in. cubed, so we
can divide the total volume by the brick volume to get the number
of bricks made.
"""
length = 12 # inches
width = 6 # inches
height = 5 # inches
brick_volume = length * width * height # inches cubed (volume per brick)
total_volume = 12600 # inches cubed
bricks_made = total_volume / brick_volume # number of bricks
print(f"If {total_volume} in^3 were used, {bricks_made} bricks were made.")
"""
You should get the following output after running this code:
If 12600 in^3 were used, 35.0 bricks were made.
""";