25/10/2025

Week 2 Assignments

1: Brisbane 2032!

The 35th Summer Olympics will be held in Brisbane.  The entire city has started preparing.  The Mayor of Brisbane asks you to help, because he hears you know how to draw with Turtle.

Lord Mayor Adrian Schrinner wants you to help draw an Olympics Symbol like follows.  He said, 'I know you can draw circles like polygons but I also learned that Turtle has a method called circle().  When you draw you can also specify the width of the lines with pensize().  Thank you young programmer!'

Before you leave you also noticed that the colours of the 5 circles are blue, black, red, yellow and green.

Write a Python program to draw the symbol as close as possible to the one the Mayor showed you. 



2: Famous Quotes

Find a quote from a famous person you admire.  Store both the quote and the name of the person in variables.  Then print the quote and the name of its author.  Your output should look something like the following, including the quotation marks:
 
Albert Einstein once said, “A person who never made a mistake never tried anything new.” 

No comments: