0000

import turtle
turtle.speed(21)
colors = ['red','purple','blue','green','yellow','orange']

for i in range(200):
    turtle.pencolor(colors[i%6])
    turtle.forward(i)
    turtle.left(59)

turtle.done()

  

猜你喜欢

转载自www.cnblogs.com/TANJINGTIAN/p/9134066.html
今日推荐