玫瑰花 星星

import turtle

turtle.bgcolor('red')
turtle.pencolor('yellow')
turtle.fillcolor('yellow')
turtle.begin_fill()

for i in range(5):
    turtle.forward(100)
    turtle.right(144)


turtle.end_fill()
turtle.done()

猜你喜欢

转载自www.cnblogs.com/commetoi/p/9016556.html
今日推荐