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!
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter11: User Interfaces, Visual Basic For Applications (vba), And Collaboration Features
Section: Chapter Questions
Problem 7EYW
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
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage