0Pricing
Coding for Kids · Lesson

Doors and Windows

Add details.

Add Doors and Windows! 🚪🪟

Our house has walls and a roof, but how do we get inside? 🤔 We need a DOOR!

And to see outside, we need WINDOWS! Let's add the details today. 🏠✨

import turtle

t = turtle.Turtle()
t.forward(50)

Move Without Drawing 🖊️⬆️

To put a door in the right spot, we move WITHOUT drawing a line.

t.penup() lifts the pen. t.goto(x, y) jumps to a spot. t.pendown() starts drawing again! ✈️

import turtle

t = turtle.Turtle()
t.penup()
t.goto(50, 0)
t.pendown()
t.forward(40)

All lessons in this course

  1. Drawing a Square House
  2. Adding a Roof
  3. Doors and Windows
  4. A Sun and Sky
← Back to Coding for Kids