多彩圆环
import turtle as tt.speed(10)
color = ["white","white","black","black","blue","blue","red","red","yellow","yellow"]
y = 200
for i in color :
t.color("black",i)
t.penup()
t.goto(0,y)
t.pendown()
t.begin_fill()
t.circle(-y)
t.end_fill()
y -= 20
t.ht()
t.done() 厉害 {:5_108:}
页:
[1]