Files
lab_turtle/drawing.py
tsmith37 8eebcfd273 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.
2025-08-30 13:20:21 -04:00

77 lines
855 B
Python

from turtle import (
forward,
back,
left,
right,
penup,
pendown,
color,
)
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()