Editor

Draw a House

Draw this picture · Intermediate · about 6 min

Draw a house: a square with sides of 100 and a roof on top of it. The turtle starts in the center, facing right, at the bottom-left corner of the square, so the square is above and to the right of that point. The roof is a triangle with three sides of 100, and its bottom side is the top side of the square. Lines only, with no fill.

The picture
Your drawing

Run your program to see it here.

import turtle
t = turtle.Turtle()
t.forward(100)
The solution opens after your first Check.