Question: this is for python 3 sub question In this problem you will be creating a Caterpillar class that will draw a caterpillar using turtle graphics.

this is for python 3 this is for python 3 sub question In this problem youwill be creating a Caterpillar class that will draw a caterpillar using

sub questionturtle graphics. Your caterpillar object will contain the following information: 1. Bodycolor (default "green") 2. Legs color (default "purple") 3. Body size (the

In this problem you will be creating a Caterpillar class that will draw a caterpillar using turtle graphics. Your caterpillar object will contain the following information: 1. Body color (default "green") 2. Legs color (default "purple") 3. Body size (the radius of the 5 circles that make the caterpillars body) (default- 50) You are going to want to create a turtle object that you will use to draw the caterpillar in the constructor, but it is not a parameter required to create a caterpillar. Your Caterpillar class must include a display function that will be where your caterpillar is called (display can call helper functions if you choose to split up the different parts you need to draw). Here is a sample caterpillar with all of the defaults (this picture is smaller than what it would look like in the turtle window): In this problem you will be creating a Caterpillar class that will draw a caterpillar using turtle graphics. Your caterpillar object will contain the following information: 1. Body color (default "green") 2. Legs color (default "purple") 3. Body size (the radius of the 5 circles that make the caterpillars body) (default- 50) You are going to want to create a turtle object that you will use to draw the caterpillar in the constructor, but it is not a parameter required to create a caterpillar. Your Caterpillar class must include a display function that will be where your caterpillar is called (display can call helper functions if you choose to split up the different parts you need to draw). Here is a sample caterpillar with all of the defaults (this picture is smaller than what it would look like in the turtle window)

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!