From c2ef7cca314b18755444a090228050858cdf8f25 Mon Sep 17 00:00:00 2001 From: erbrown Date: Mon, 1 Sep 2025 20:16:02 -0400 Subject: [PATCH] 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. --- drawing.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/drawing.py b/drawing.py index f3ee2e9..d85f3a8 100644 --- a/drawing.py +++ b/drawing.py @@ -6,17 +6,67 @@ from turtle import ( penup, pendown, color, + pensize, + speed, + backward, + circle, + begin_fill, + end_fill, ) +color('hot pink') +forward(300) +right(360 * 2 / 5) forward(100) right(360 * 2 / 5) forward(100) +speed(0) +pensize(6) +right(360 * 2 / 5) +forward(100) right(360 * 2 / 5) forward(100) 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) right(360 * 2 / 5) forward(100) right(360 * 2 / 5) +backward(100) +end_fill() +left(90) +forward(20) +right(45) +pensize(1) +forward(300) + input()