import turtle turtle.setup(650,350,200,200) turtle.penup() turtle.pensize(1) turtle.pencolor("red") turtle.fd(100) turtle.seth(30) turtle.pendown() turtle.fd(80) turtle.seth(-90) turtle.fd(80) turtle.seth(150) turtle.fd(80) turtle.penup() turtle.seth(30) turtle.fd(80/3) turtle.seth(90) turtle.fd(80/3) turtle.pendown() turtle.seth(-30) turtle.fd(80) turtle.seth(-150) turtle.fd(80) turtle.seth(90) turtle.fd(80)
绘制六边形
猜你喜欢
转载自www.cnblogs.com/Dengyaling/p/12497321.html
今日推荐
周排行