From 604be025f0179f9889ad6cc8abc7084ba4a679e6 Mon Sep 17 00:00:00 2001 From: bpot Date: Mon, 9 Feb 2026 11:07:16 -0500 Subject: [PATCH] python draw_with_shapes works yay --- shapes.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/shapes.py b/shapes.py index 731ec39..d5f875d 100644 --- a/shapes.py +++ b/shapes.py @@ -5,7 +5,17 @@ from turtle import * def triangle(side_length): - pass + for i in range(3): + forward(side_length) + right(120) + def rectangle(height, width): - pass + forward(width) + right(90) + forward(height) + right(90) + forward(width) + right(90) + forward(height) + right(90) \ No newline at end of file