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!
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
Related questions
Question
Can you help?
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 :
- Import turtle package.
- Set screen with dimensions and color.
- Create a turtle object with color.
- Create the Snowman by illustrating overlapping circles at particular positions.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 4 images
Recommended textbooks for you
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning