2六角形绘制

import turtle
turtle.setup(650,350,200,200)
turtle.penup()
turtle.pensize(1)
turtle.pencolor("black")
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)

2六角形绘制

上一篇:IROS 2017来了!和雷锋网一起逛最具影响力的机器人学术大会


下一篇:CISCO CCNA设备基本配置