making shapes

testing commit message
This commit is contained in:
eqb
2025-08-25 18:15:30 +08:00
parent a3546cec95
commit 2ea35825db

View File

@@ -5,7 +5,13 @@
from turtle import *
def triangle(side_length):
pass
for i in range(3):
forward(side_length)
right(120)
def rectangle(height, width):
pass
for i in range(2):
forward (width)
right(90)
forward(height)
right(90)