📅  最后修改于: 2022-03-11 14:45:20.556000             🧑  作者: Mango
import turtle
t= turtle.Pen()
t.speed(0)
turtle.bgcolor('black')
colours= ["blue","green","brown","yellow"]
for x in range(100):
t.forward(x)
t.left(90)
t.pencolor(colours[x % 4])