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!
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Can you help?


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 :
- 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

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education