turtle图形绘画三个菱形#
import turtle as t
t.setup(600,600,0,0)
t.penup()
t.pensize(2)
t.pencolor("black")
t.pendown()
t.fd(100)
t.seth(60)
t.fd(100)
t.seth(0)
t.fd(-100)
t.seth(60)
t.fd(-200)
t.seth(-60)
t.fd(100)
t.seth(60)
t.fd(100)
t.seth(-60)
t.fd(-200)
t.seth(0)
t.fd(-100)
t.seth(-60)
t.fd(100)
t.seth(0)
t.fd(100)