嘿,你的六角形;不,是你的六角形
import turtle turtle.color('black','green') turtle.pensize(5) turtle.begin_fill() turtle.penup() turtle.goto(-150,-120) turtle.pendown() turtle.lt(90) for i in range(3): turtle.fd(270) turtle.rt(120) turtle.fd(90) turtle.lt(60) turtle.fd(90) for i in range(3): turtle.rt(120) turtle.fd(270) turtle.end_fill()