Question: Lab: Topic 6 ( team ) Write a program named pyramid _ area 1 . py that will ask the user to input the length
Lab: Topic team
Write a program named pyramidareapy that will ask the user to input the length of one side of a
cube in meters and the number of layers of the pyramid. Your program must use a loop. After you
complete this program, write a second program named pyramidare py that performs the same
calculation but this time without a loop hint: arithmetic progression Your programs may NOT use
lists, tuples, or dictionaries.
Remember to test your code. The ancient ruler would not be happy if the ancient builders ran out of
gold foil before the Temple was covered completely. The ruler would get even more upset if the ancient
builders asked for more gold than was needed. Have your program format the output as shown below.
The area should be displayed using two decimal places.
Example output using inputs :
Enter the side length in meters:
Enter the number of layers:
You need of gold foil to cover the pyramid
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
