五角星绘制

 1 import turtle
 2 
 3 turtle.color('red')
 4 turtle.pensize(10)
 5 turtle.begin_fill()
 6 for i in range(5):
 7     turtle.fd(100)
 8     turtle.rt(144)
 9     
10 turtle.end_fill()
posted @ 2020-03-11 15:50  甲壳虫C  阅读(78)  评论(0)    收藏  举报