叠加等边三角形

import turtle
turtle.penup()
turtle.fd(-100)
turtle.pendown()
turtle.pensize(5)
turtle.pencolor("red")
turtle.left(60)
turtle.forward(100)
turtle.right(120)
turtle.forward(200)
turtle.right(120)
turtle.forward(200)
turtle.right(120)
turtle.forward(100)
turtle.right(60)
turtle.forward(100)
turtle.right(120)
turtle.forward(100)
turtle.right(120)
turtle.forward(100)

posted @ 2020-03-11 15:07  哦噢  阅读(198)  评论(0编辑  收藏  举报