叠加等边三角形绘制
import turtle as t t.pencolor("black") t.penup() t.fd(-80) t.pendown() 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()
浙公网安备 33010602011771号