experimented with turtle

Enjoyment! I had a lot of fun just exploring and learning about the turtle. I did not make anything specific but it was really fun to just explore and see what I can do. I think I will continue to explore more of the turtle later. I think I had this sense of enjoyment because a lot of the time I am require to make a specific thing with code but with this I was able to make what I wanted while still exploring the different features.
This commit is contained in:
erbrown
2025-09-01 20:16:02 -04:00
parent 13dc018199
commit c2ef7cca31

View File

@@ -6,17 +6,67 @@ from turtle import (
penup, penup,
pendown, pendown,
color, color,
pensize,
speed,
backward,
circle,
begin_fill,
end_fill,
) )
color('hot pink')
forward(300)
right(360 * 2 / 5)
forward(100) forward(100)
right(360 * 2 / 5) right(360 * 2 / 5)
forward(100) forward(100)
speed(0)
pensize(6)
right(360 * 2 / 5)
forward(100)
right(360 * 2 / 5) right(360 * 2 / 5)
forward(100) forward(100)
right(360 * 2 / 5) right(360 * 2 / 5)
backward(100)
right(90)
forward (100)
speed(3)
color('blue')
circle (10)
pensize(1)
forward(100)
right(90)
circle (30)
penup()
forward(300)
left(45)
pendown()
pensize(4)
circle(50)
right(90)
color('red')
forward(50)
right(90)
forward(200)
begin_fill()
right(360 * 2 / 5)
forward(100)
right(360 * 2 / 5)
forward(100)
speed(0)
pensize(6)
right(360 * 2 / 5)
forward(100) forward(100)
right(360 * 2 / 5) right(360 * 2 / 5)
forward(100) forward(100)
right(360 * 2 / 5) right(360 * 2 / 5)
backward(100)
end_fill()
left(90)
forward(20)
right(45)
pensize(1)
forward(300)
input() input()