Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

with comments, please! 2. Ask the user if they would like to draw a circle, square, or triangle. Then ask the user what color they

with comments, please! image text in transcribed
2. Ask the user if they would like to draw a circle, square, or triangle. Then ask the user what color they want it to be. Assume the user will enter a valid color that Turtle recognizes Then ask the user what size they would like their drawing. Use this as the side length of a square, or the side length of a triangle, or the radius of a circle. Then ask the user if they would like their shape filled. If they answer"yes," fill in their shape. If they answer "no," then draw the outline of the shape. Based on what the user entered, draw the selected shape in the selected color, size, and filling. (The exact location and orientation of the shape do not matter.) Here is a sample run: Would you like to draw a circle, square, or triangle? triangle What color would you like? red What size would you like? 100 Would you like it filled? yes

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions