黄色边框的红色五角星

import turtle

turtle.pensize(5)
turtle.pencolor("yellow")
turtle.fillcolor("red")

turtle.begin_fill()
for i in range(5):
    turtle.forward(100)
    turtle.right(144)
    turtle.forward(100)
    turtle.left(72)
turtle.end_fill()

turtle.hideturtle()
turtle.done()

posted @ 2020-10-12 19:11  大胖子zz  阅读(265)  评论(0)    收藏  举报