C: Building a House

Fun with shapes

    • Copy and run the following code in IDLE
    • Create other shapes such as spiral, square, circle (find the code on the web
    • Make them into fun functions using ‘def’
    • Change the code to create pictures

The code

shapes

EXTENSION

Python Turtle Tutorial

Build a House

house

Paste the following code into IDLE run then experiment. can you:

  • change the colours of the house
  • create more trees
  • add a moon
  • add a wall by creating a wide rectangle
  • make the house bigger and change the label to country house
  • Experiment with your own ideas