Question: Lab Requirements: I want you to write a program that creates a block pyramid. You are expected to take in a single positive integer which

Lab Requirements:

I want you to write a program that creates a block pyramid. You are expected to take in a single positive integer which will be used as the height of your pyramid, for the purposes of this first lab you can assume that the user will always provide a valid integer greater than 0 and less than 1000 (I.e. there is no need for input validation). The very top of your pyramid will have a single block with each level having 1 more block until you have created a pyramid with the correct number of levels. In addition to the before mentioned requirements, a few things to note that might not be as evident from the screenshot:

1. The very bottom left is left aligned (I.e. no spaces)

2. There are no spaces after the right most pyramid in a single level.

3. The bottom most row does not end with a new line.

Lab Requirements: I want you to write a program that creates a

Python 3.6.1 Shell File Edit Shell Debug Qptions Window Help 3 Ln: 311 Col:0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!