You are on page 1of 1

Graphics Assignment

Write a program in Python to solve each of the following problems.


Start each program with a comment that states the name of the program, the problem number,
your name, and a description of what the program does.

# Output - Problem 1
# Your Name
# Date: XX/XX/XXX
# This is a description of the program.

Follow the examples and make sure your program uses proper spacing and commenting
throughout.
Save each program with a file name such as outputproblem#, where # is the problem number.

Graphics - Problem 1
Write a program that will display a Christmas winter-seasonal festive non-denominational tree
with green tree and brown trunk. (polygon function draws triangles)

Graphics - Problem 2
Write a program that will display a red, blue and yellow circle. Each circle must be the same
size. The circles should line up in a straight line across the screen.

Graphics - Problem 3
Write a program that will fit a square peg into a round circle, as shown below. The corners of the
square should lie on the circle.

You might also like