六角形

Posted dongyichen

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了六角形相关的知识,希望对你有一定的参考价值。

import turtle as t
t.seth(30)
t.fd(100)
t.seth(-90)
t.fd(100)
t.seth(150)
t.fd(100)
t.seth(30)
t.fd(100/3)
t.seth(90)
t.fd(100/3)
t.seth(-30)
t.fd(100)
t.seth(-150)
t.fd(100)
t.seth(90)
t.fd(100)
t.done()

 

以上是关于六角形的主要内容,如果未能解决你的问题,请参考以下文章