import turtle q = turtle.Pen() turtle.bgcolor("black") sides = 7 colors = ["red", "orange" , "yellow" , "green" , "cyan" , "blue" , "purple"] for x in range (360): q.pencolor(colors[x%sides]) q.forward(x*3/sides+x) q.left(360/sides+1) q.width(x*sides/200)
初级程序员
by: 刘刘刘 发表于:2021-04-22 13:04:01 顶(0) | 踩(0) 回复
厉害了
回复评论