Question: Write a program that uses turtle graphics to display a snowman, similar to the one shown in Figure 5-30. In addition to a main function,

Write a program that uses turtle graphics to display a snowman, similar to the one shown in Figure 5-30. In addition to a main function, the program should also have the following functions:

• DrawBase. This function should draw the base of the snowman, which is the large snowball at the bottom.

• DrawMidSection. This function should draw the middle snowball.

• DrawArms. This function should draw the snowman’s arms.

• DrawHead. This function should draw the snowman’s head, with eyes, mouth, and other facial features you desire.

• DrawHat. This function should draw the snowman’s hat.Figure 5-30 Snowman 8 O

Figure 5-30 Snowman 8 O

Step by Step Solution

3.36 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

import turtle def DrawBase turtlepenup turtlegoto0 150 turtlependown turtlefillcolorwhite turtlebegi... View full answer

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 Starting Out With Python Questions!