From 55d0e6df87b4ea4e6650da887fdbd528f7e504a9 Mon Sep 17 00:00:00 2001 From: jstok Date: Wed, 4 Feb 2026 11:42:06 -0500 Subject: [PATCH] having trouble with the color syntax --- .envrc | 1 + drawing.py | 31 +++++++++++++++++++------------ 2 files changed, 20 insertions(+), 12 deletions(-) create mode 100644 .envrc diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..4a96c22 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +source .venv/bin/activate \ No newline at end of file diff --git a/drawing.py b/drawing.py index f3ee2e9..17f7e1c 100644 --- a/drawing.py +++ b/drawing.py @@ -5,18 +5,25 @@ from turtle import ( right, penup, pendown, - color, + color,color("red") ) -forward(100) -right(360 * 2 / 5) -forward(100) -right(360 * 2 / 5) -forward(100) -right(360 * 2 / 5) -forward(100) -right(360 * 2 / 5) -forward(100) -right(360 * 2 / 5) +forward(250) +right(360 * 4 / 9) +forward(250) +right(360 * 4 / 9) +forward(250) +right(360 * 4 / 9) +forward(250) +right(360 * 4 / 9) +forward(250) +right(360 * 4 / 9) +forward(250) +right(360 * 4 / 9) +forward(250) +right(360 * 4 / 9 ) +forward(250) +right(360 * 4 / 9 ) +forward(250) -input() +input() \ No newline at end of file