Question: You will start this program by asking the user how many rows they want in their pyrmaid: The program will then ask you to enter

You will start this program by asking the user how many rowsYou will start this program by asking the user how many rows they want in their pyrmaid:

The program will then ask you to enter which color you want to color each row. Store these colors in a list.

You will then build your pyramid as follows

they want in their pyrmaid: The program will then ask you to

Your pyramid will be centered in the screen

The size of your triangles will be larger if their are fewer and smaller if their are more:

e.g. a size of 10:

enter which color you want to color each row. Store these colors

To build the pyramid you will loop through the rows, and

have a nested loop for the columns, and inside

have a loop for the triangle.

X Pyramid Enter Height: 5 OK Cancel Python Turtle Graphics Python Turtle Graphics

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!