叠加三角形绘制

import turtle as t
t.pencolor("red")
t.fd(200)
t.seth(120)
t.fd(200)
t.seth(-120)
t.fd(200)
t.seth(0)
t.fd(100)
t.seth(60)
t.fd(100)
t.seth(180)
t.fd(100)
t.seth(-60)
t.fd(100)
t.seth(120)
t.fd(100)
t.seth(0)
import turtle
t=turtle.Turtle()
t.color("black")
t.write("许劲",font=("微软雅黑",15,"bold"))

posted @ 2020-09-14 22:04  dt_1005  阅读(139)  评论(0)    收藏  举报