Made a colorful house

Im excited that I figured out how to move the turtle in any direction by using angles and degrees to rotate the turtle.
This commit is contained in:
tsmith37
2025-08-30 13:20:21 -04:00
parent 52fa2eb0e0
commit 8eebcfd273
2 changed files with 71 additions and 10 deletions

View File

@@ -8,15 +8,69 @@ from turtle import (
color,
)
forward(100)
right(360 * 2 / 5)
forward(100)
right(360 * 2 / 5)
forward(100)
right(360 * 2 / 5)
forward(100)
right(360 * 2 / 5)
forward(100)
right(360 * 2 / 5)
left (90)
forward(200)
right (90)
forward (200)
right (90)
forward (200)
right (90)
forward (200)
back (80)
pendown
right (90)
color ('green')
forward (70)
right (90)
forward (40)
right (90)
forward (70)
left (90)
forward (20)
left (90)
penup ()
forward (120)
pendown ()
color ('blue')
forward (40)
right (90)
forward (40)
right (90)
forward (40)
right (90)
forward (40)
penup ()
forward (80)
pendown ()
forward (40)
right (90)
forward (40)
right (90)
forward (40)
right (90)
forward (40)
right (90)
penup ()
forward (60)
right (90)
forward (80)
pendown ()
color ('orange')
right (45)
forward (142)
right (90)
forward (142)
penup ()
back (80)
left (130)
pendown ()
color ('red')
forward (50)
right (90)
forward (20)
right (90)
forward (70)
input()