陀螺
import turtle
lst=['red','blue','green']
turtle.tracer(False)
angle=5
def draw():
turtle.clear()
turtle.pensize(15)
for i in range(3):
turtle.forward(200)
turtle.dot(200,lst[i])
turtle.backward(200)
turtle.left(120)
turtle.right(angle)
def process():
draw()
turtle.ontimer(process,100)
process()
turtle.done()