Graded Problem Set #3.1
Loop Problems

Background

These problems should be completed on your own. Unlike the practice problems, where you are allowed, and even encouraged, to talk about the process with your classmates, these should be attempted on your own. If you have difficulty with these, please reach out to me for assistance or guidance.

These problems will be completed using an editor such as Thonny or IDLE and submitted to Autolab for grading.

 

Activities

Please try to make your program output look as much like the example as possible and verify it works with the example input provided. If you have difficulty finding the information or understanding how to approach the problem, you should contact me.

To complete this activity, you will need to create the following scripts:

 


LOOP G1

It's a Giant Pyramid Scheme

Ahhotep was an ancient Egyptian queen who lived from approximately 1560-1530 BC (Only 30 years old and still the queen. And what are you doing with your life?)

She has come back to life ala Night at the Museum and wants to build a pyramid to go along with the other pyramids built by her ancestors.  She wants to calculate how many blocks of stone it will require.

Write a Python function that conforms to the following:

 


LOOP G2

Well we have THAT in common!

 

Write a Python function that conforms to the following: