Python Forum

Full Version: Homework Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello guys,

I have another problem I can't seem to figure out. Any help would be greatly appreciated!

Here is the problem:

(Turtle: draw a rectangle) Write a program that prompts the user to enter the center of a rectangle, width, and height, and displays the rectangle, as shown in Figure 2.4c.

It's basically asking me to write a program that will have the user enter in the center of a rectangle, the width, and the height that will display whatever rectangle responding to those numbers entered.
What have you tried? We won't write it for you, but we'll help you fix it if it doesn't work.