In python 3 Activity #2: Team Assignment An ancient ruler has decided to build a Geometry Temple
Question:
In python 3 Activity #2: Team Assignment An ancient ruler has decided to build a Geometry Temple in the form of a square-base pyramid made up of cubes with a given side (as illustrated below). The Temple has n layers, where the bottom layer is n n meters and the top layer is a single cube. The surface of the Temple is supposed to be covered with gold. What is the total area of gold foil that is needed in order to accomplish this? Adapted from: http://sigmacamp.org/sites/default/files/page_attachments/September_2018_POM.pdf Your team decides to help the ancient ruler. Your team will develop a model to calculate the total area of gold foil that is needed to cover the Temple. Write a program that will ask the user to input the length of a cube side (in meters) and the number of layers. Create two versions of this program: version 1 should use loops; version 2 should not use loops. Neither program can use lists, tuples, arrays. Make sure 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.