import turtle as t t.pensize(2) for i in range(6): t.fd(150) t.left(60)
turtle六边形绘制
原文:https://www.cnblogs.com/hewa123-/p/13898733.html