Files
lab_turtle/drawing.py
joen 9d65b147ca Experimented with Turtle and made a house
Excited to experiment and change the code to see the result and/if an error pops up.
2025-08-31 22:14:08 +08:00

28 lines
286 B
Python

from turtle import (
forward,
back,
left,
right,
penup,
pendown,
color,
pensize
)
pensize(5)
forward(100)
right(90)
forward(100)
right(90)
forward(100)
right(90)
forward(100)
color('red')
pensize(20)
right(45)
forward(70)
right(90)
forward(70)
input()