画叠加的等边三角形

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)
t.done()
原文地址:https://www.cnblogs.com/670ling/p/12565813.html