Skip to main content
Menu
Lesson 3: Putting Shapes Together
Back to Turtle Coding
Lesson 3 of 7

9 Quick recap

  • t.forward() / t.right() draw shapes.
  • t.circle(radius) draws a circle.
  • t.penup() / t.pendown() move the turtle without drawing.

Today: use penup()/pendown() to put more than one shape in the same picture.

10 Draw a square

A house starts with a square. You already know how to draw one — write it yourself below.

Finish the code, then click Run

Hint:

A square has 4 sides.

Every corner turns 90°.

Still stuck? Tap here

Copy the two lines above 3 more times:

t.forward(100)
t.right(90)

11 Add a triangle roof

Here’s a finished square. The turtle finishes back where it started, facing the same way — perfect to draw the roof straight away, no moving needed.

Add the roof, then click Run
Think about it

A triangle has 3 sides — turn 120° at each corner, just like Lesson 2.

But this time, turn left instead of right, so the roof points up instead of into the square.

Still stuck? Tap here

Try:

t.forward(100)
t.left(120)
t.forward(100)
t.left(120)
t.forward(100)

12 Draw a square, again

A robot body is also a square. Write it yourself — no help this time.

Write your code, then click Run
Stuck? Tap here

Look back at how you built the square in the last house step.

13 Add a circle head

Here’s a finished square body, already moved into place. Add a circle on top for the head.

Add the head, then click Run
Think about it

What command draws a circle in one line?

14 Now you try: a rocket

A triangle nose, a square body, a small circle window. Fill in each shape below.

Fill in the blanks, then click Run

Hint:

Use your triangle, square and circle code from before.

t.penup() before moving, t.pendown() before drawing again.

15 Free choice: design your own picture

Use squares, triangles and circles to design any picture you like — a snowman, a face, a pattern, anything you want.

Write your own code, then click Run

What you learned in this lesson

  • bigger pictures are built by drawing one shape, then moving, then drawing the next
  • t.penup() lifts the pen so moving the turtle doesn’t draw a line
  • t.pendown() puts the pen back down so the turtle draws again
  • squares, triangles and circles can be combined into houses, robots, rockets and more

Your certificate is locked

Go back and try the code boxes.

Change the code, click Run, and do this in at least 2 code boxes to unlock your certificate.

Well done! Type your name, check your certificate, then press Print.

Certificate of Achievement

Well done!

This certificate is awarded to

for completing Turtle Coding

Lesson 3: Putting Shapes Together

You have:

  • combined squares, triangles and circles
  • built pictures like a house and a rocket
  • planned and drawn your own design
Date:
Keep coding!
Teacher signature
Helpful?