python draw_with_shapes works yay

This commit is contained in:
bpot
2026-02-09 11:07:16 -05:00
parent 5c3423baf6
commit 604be025f0

View File

@@ -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)