not close

This commit is contained in:
mbrown
2025-09-24 09:49:56 -04:00
parent 3e9c2e189b
commit 79a38e928a
2 changed files with 29 additions and 3 deletions

View File

@@ -5,7 +5,23 @@
from turtle import *
def triangle(side_length):
pass
forward(side_length)
right(120)
forward(side_length)
right(120)
forward(side_length)
def rectangle(height, width):
pass
forward(width)
right(90)
forward(height)
right(90)
forward(width)
right(90)
forward(height)
right(90)
triangle(100)
rectangle(50,100)