Question
Write a program that draws a greeting card customized with a person's name. You can choose the purpose of the card ( Get Well, Sympathy,
Write a program that draws a greeting card customized with a person's name. You can choose the purpose of the card ( Get Well, Sympathy, Birthday, Holiday, Halloween, etc.) You decide what drawing goes on the card.
Your program must:
(6 points) Ask the user for the name of the person the card is for. Use the Entry method. There are 5 steps to using this method to do input: Create a Text object with your prompt like "Enter the receiver's name " and draw it Create an Entry object Draw the Entry object Use the getMouse() method of the GraphWin object to allow the user time to type Use the getText() method of the Entry object to get the user's input After the name has been input, Undraw the entry box and prompt! you don't want them cluttering up your card! objectname.undraw() - no arguments, it knows which window it was drawn on.
(6 points) Display the person's name on the graphics window somewhere using a Text object.
(6 points) Your Python program must use objects of least 6 different classes (Points, Lines, Circles, Rectangles, etc.).
(5 points) The program must use at least five colors (besides black and white!).
(5 points) And put some other documentation in the program too! Mark off the different sections of code with comments about what they draw.
in python please!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started