Python – Diamonds




# Christina Schneider
# Python Turtle (Diamonds)
# 2-25-25
import turtle
t = turtle
t.pensize(3)
t.hideturtle()
t.begin_fill()
t.color('green')
t.pencolor('black')
#point 1
t.goto(0,0)
#point 2
t.goto(-100, 100)
#point 3
t.goto(-200, 0)
#point 4
t.goto(-100, -100)
#back to point 1
t.goto(0,0)
t.goto(100, 100)
t.goto(200, 0)
t.goto(100, -100)
t.goto(0,0)
t.end_fill()