嘿,你的六角形;不,是你的六角形

 

 

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()
666

 

posted @ 2020-03-12 20:52  叶落知秋max  阅读(115)  评论(0编辑  收藏  举报