From 92c7b2556ceaa9152ee915682e302d09ee739b2b Mon Sep 17 00:00:00 2001 From: jbayati Date: Wed, 24 Sep 2025 09:49:41 -0400 Subject: [PATCH] I got to finishing triangle --- shapes.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/shapes.py b/shapes.py index 731ec39..826a8b7 100644 --- a/shapes.py +++ b/shapes.py @@ -1,11 +1,20 @@ -# shapes.py + # shapes.py # --------- # By MWC contributors from turtle import * def triangle(side_length): - pass + + forward(side_length) + right(120) + forward(side_length) + right(120) + forward(side_length) + right(120) + def rectangle(height, width): pass + +