Question: Create a Python program that does the following. Prompts the user for the size of a pyramid to draw. Verifies that the input is in
Create a Python program that does the following. Prompts the user for the size of a pyramid to draw. Verifies that the input is in range and does not allow the program to continue until the program entered is valid. Creates a pyramid by drawing lines one on top of another to create a pyramid of the requested height. Prompts the user to continue. 
Sample Output: Enter in the number of lines in the pyramid (1 - 10): 12 Incorrect value entered Enter in the number of lines in the pyramid (1 - 10) 6 Do you wish to draw another pyramid (y or n)? y Enter in the number of lines in the pyramid (1 - 10): 51 Do you wish to draw another pyramid (y or n)? ni Python Turtle Graphics
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
