From 98c1431835f36b54403ceac5248a17b3ee0b1d36 Mon Sep 17 00:00:00 2001 From: rrahmany Date: Wed, 24 Sep 2025 09:52:11 -0400 Subject: [PATCH] started the triangle function --- shapes.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/shapes.py b/shapes.py index 731ec39..b39051a 100644 --- a/shapes.py +++ b/shapes.py @@ -5,7 +5,9 @@ from turtle import * def triangle(side_length): - pass - + forward(side_length) + right(60) + forward(side_length) + def rectangle(height, width): pass