From e65e26f931300d4e548421a71144b967df50e8e8 Mon Sep 17 00:00:00 2001 From: angelotr Date: Mon, 1 Sep 2025 18:46:16 -0400 Subject: [PATCH] experimented with turtle forward and color I felt confused while doing this programming. The reason behind this was that I kept forgetting to do ls and then return, forgetting this step didn't pull up any files becuase I didn't confirm it with ls. --- drawing.py | 6 ++++-- poetry.lock | 7 +++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 poetry.lock diff --git a/drawing.py b/drawing.py index f3ee2e9..20287ce 100644 --- a/drawing.py +++ b/drawing.py @@ -6,9 +6,10 @@ from turtle import ( penup, pendown, color, + fillcolor, ) -forward(100) +forward(300) right(360 * 2 / 5) forward(100) right(360 * 2 / 5) @@ -18,5 +19,6 @@ forward(100) right(360 * 2 / 5) forward(100) right(360 * 2 / 5) - +color("red") +fillcolor("blue") input() diff --git a/poetry.lock b/poetry.lock new file mode 100644 index 0000000..7e72dc6 --- /dev/null +++ b/poetry.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Poetry 2.1.4 and should not be changed by hand. +package = [] + +[metadata] +lock-version = "2.1" +python-versions = ">=3.10,<4.0" +content-hash = "7b8fc01b274bd807fb00372bbc8e138330f15ae7978ed61e180f3b17ec076725"