lannn_l

叠加等边三角形绘制

import turtle as t
t.pencolor("black") 

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)
t.done()
 

 

posted on 2020-09-15 23:15  lannn_l  阅读(93)  评论(0)    收藏  举报

导航