From 1bf1d284b2c30f7bf82393bdc30b389be98c7489 Mon Sep 17 00:00:00 2001 From: jrohr Date: Wed, 4 Feb 2026 11:17:53 -0500 Subject: [PATCH] golf club --- .envrc | 1 + drawing.py | 24 ++++++++++++++---------- poetry.lock | 7 +++++++ 3 files changed, 22 insertions(+), 10 deletions(-) create mode 100644 .envrc create mode 100644 poetry.lock 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..a54c1ff 100644 --- a/drawing.py +++ b/drawing.py @@ -8,15 +8,19 @@ from turtle import ( color, ) +color("blue") forward(100) -right(360 * 2 / 5) +right(90) +forward(50) +right(90) forward(100) -right(360 * 2 / 5) -forward(100) -right(360 * 2 / 5) -forward(100) -right(360 * 2 / 5) -forward(100) -right(360 * 2 / 5) - -input() +right(90) +forward(50) +forward(300) +right(90) +forward(25) +right(90) +forward(300) +left(90) +penup(300) +input() \ No newline at end of file diff --git a/poetry.lock b/poetry.lock new file mode 100644 index 0000000..c0d8bd7 --- /dev/null +++ b/poetry.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Poetry 2.3.1 and should not be changed by hand. +package = [] + +[metadata] +lock-version = "2.1" +python-versions = ">=3.10,<4.0" +content-hash = "7b8fc01b274bd807fb00372bbc8e138330f15ae7978ed61e180f3b17ec076725"