I got to finishing triangle

This commit is contained in:
jbayati
2025-09-24 09:49:41 -04:00
parent 33bdad566f
commit 92c7b2556c

View File

@@ -1,11 +1,20 @@
# shapes.py # shapes.py
# --------- # ---------
# By MWC contributors # By MWC contributors
from turtle import * from turtle import *
def triangle(side_length): def triangle(side_length):
pass
forward(side_length)
right(120)
forward(side_length)
right(120)
forward(side_length)
right(120)
def rectangle(height, width): def rectangle(height, width):
pass pass