1绘制五角星

import turtle
turtle.fillcolor("red")
turtle.begin_fill()
turtle.penup()
turtle.goto(-60,0)
turtle.pendown()
for i in range(5):
    turtle.forward(200)
    turtle.right(144)
turtle.end_fill()

posted @ 2020-03-14 21:37  liuchun玲  阅读(119)  评论(0)    收藏  举报