Question: Write a Python program using Python 3.6.2. The program should be saved as a text file with the extention '.py'. The program asks the user

Write a Python program using Python 3.6.2. The program should be saved as a text file with the extention '.py'.

The program asks the user for a color, a line width, a line length and a shape. Assume that the user will specify a shape that is a line, a triangle, or a square. Use turtle graphics to draw the shape that the user requests of the size, color, line width and line length that the user requests. For example, if the following are the user choices for color, width, line length and shape, then a blue triangle would be the correct graphical output.

what color? blue what line width? 25 what line length? 100 line, triangle or square? triangle

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!