Question: Create a python program does the following: Ask the user how many sides they want their shape to be ( Make sure the # if

Create a python program does the following:
Ask the user how many sides they want their shape to be (Make sure the # if sides is positive)
Ask the user what color they want their shape to be (Make sure it's a valid color)
Call the anyshape function with the appropriate number of sides
Use turtle.color() to set the color of the line to the users color.
Do this in a loop until the user enters -999 for the sides
Use turtle.clear() and turtle.goto(0,0) to clear the shape

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!