

def drawSquare(x, y, size, c):
t.penup()
t.goto(x, y)
t.pendown()
t.color(c)
t.begin_fill()
for i in range(4):
t.forward(size)
t.right(90)
t.end_fill()
drawSquare(-200, 200, 10, "black")
drawSquare(50, 200, 100, "green")
# to make a new shape function, modify only the part that draws
# modify whatever is in the for loop.
Hint: Start by drawing the rectangle and triangle with just t.forward() and t.right()/t.left() and then simplify the code with for loops, this will be the main meat of your drawing functions
You can reach me at ddjapri@ayclogic.com.
All class notes can be found here: https://drive.google.com/drive/folders/1ClxGyA_3oLZtwhgN0j3BVZjpffoxMHNj?usp=sharing