1 from turtle import*
2 pu()
3 goto(-100,0)
4 pd()
5 seth(30)
6 for i in range(3):
7 fd(200)
8 right(120)
9 pu()
10 goto(100,0)
11 pd()
12 seth(150)
13 for i in range(3):
14 fd(200)
15 left(120)
标签:200,goto,pu,120,fd,pd,绘制,六角形
来源: https://www.cnblogs.com/02-12/p/12493809.html