1. 程式人生 > >一個有意思的程式碼,無限圈圈烏龜

一個有意思的程式碼,無限圈圈烏龜

# import turtle as t
# from random import randint as rint
# t.shape('turtle')
# t.pensize(5)
# t.colormode(255)
# t.bgcolor('black')
# t.tracer(False)
# for x in range(700):
# t.color(rint(0,255),rint(0,255),rint(0,255))
# t.circle(2*(1+x/4),10)
# t.speed(100)
# t.tracer(True)