绘制叠加三角形

 1 import turtle
 2 turtle.pensize(10)
 3 turtle.color('purple','pink')
 4 turtle.begin_fill()
 5 
 6 turtle.forward(100)
 7 turtle.right(120)
 8 turtle.forward(100)
 9 
10 turtle.right(120)
11 turtle.forward(100)
12 turtle.right(60)
13 turtle.forward(100)
14 
15 turtle.right(120)
16 turtle.forward(200)
17 turtle.right(120)
18 turtle.forward(200)
19 turtle.right(120)
20 turtle.forward(100)
21 
22 turtle.end_fill()

绘制叠加三角形

 

上一篇:SpringMVC配置视图解析器后对于请求地址不使用视图解析器解决办法


下一篇:浅析NetFilter和iptables