多彩圆圈

2+

import turtle

colors=['red','orange','yellow','green','cyan','blue','purple','pink']

turtle.pensize(500)

c = 0
while c<8:
    ys=colors[c]
    turtle.pencolor(ys)
    turtle.fd(30)
    c = c + 1




2+

发表评论