Write a program that has Tracy draw a snowman. Make sure your snowman: • Is made of three gray circles • Is sized based off user input. You should ask the user for the radius of the bottom of the snowman's body. The middle circle should have a radius that is half the bottom and the top should have a radius that is half the middle. • Example: • The bottom has a radius of 100 • The middle has a radius of 50 • The top has a radius of 25 Hints: • It would be helpful to draw out a few scenarios based off different user input and determine a correlation before coding. • Determine where Tracy needs to move in order to get on top of a circle to draw the next one! • Be sure to use a function to draw each part of the snowman!

Principles of Information Systems (MindTap Course List)
13th Edition
ISBN:9781305971776
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter13: Cybercrime And Information System Security
Section13.1: The Threat Landscape
Problem 2CTQ
icon
Related questions
Question

Can you help?

Write a program that has Tracy draw a snowman.
Make sure your snowman:
• Is made of three gray circles
• Is sized based off user input. You should ask the user for the radius of
the bottom of the snowman's body. The middle circle should have a
radius that is half the bottom and the top should have a radius that is
half the middle.
Example:
o The bottom has a radius of 100
• The middle has a radius of 50
• The top has a radius of 25
Hints:
• It would be helpful to draw out a few scenarios based off different user
input and determine a correlation before coding.
• Determine where Tracy needs to move in order to get on top of a
circle to draw the next one!
Be sure to use a function to draw each part of the snowman!
Transcribed Image Text:Write a program that has Tracy draw a snowman. Make sure your snowman: • Is made of three gray circles • Is sized based off user input. You should ask the user for the radius of the bottom of the snowman's body. The middle circle should have a radius that is half the bottom and the top should have a radius that is half the middle. Example: o The bottom has a radius of 100 • The middle has a radius of 50 • The top has a radius of 25 Hints: • It would be helpful to draw out a few scenarios based off different user input and determine a correlation before coding. • Determine where Tracy needs to move in order to get on top of a circle to draw the next one! Be sure to use a function to draw each part of the snowman!
Expert Solution
Step 1

Turtle Module :

it is an in-built module in Python, which lets the user control a pen(turtle) to draw on screen. It is mostly used to illustrate figures, shapes, designs etc.  In this article, we will learn how to draw a snowman using the turtle module.

Steps :

  1. Import turtle package. 
  2. Set screen with dimensions and color. 
  3. Create a turtle object with color. 
  4. Create the Snowman by illustrating overlapping circles at particular positions.
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 4 images

Blurred answer